All Known Implementing Classes:
JediTerminal

public interface Terminal
Executes terminal commands interpreted by Emulator, receives text
  • Method Details

    • resize

      void resize(int width, int height, RequestOrigin origin)
    • resize

      void resize(int width, int height, RequestOrigin origin, CompletableFuture<?> promptUpdated)
    • beep

      void beep()
    • backspace

      void backspace()
    • horizontalTab

      void horizontalTab()
    • carriageReturn

      void carriageReturn()
    • newLine

      void newLine()
    • mapCharsetToGL

      void mapCharsetToGL(int num)
    • mapCharsetToGR

      void mapCharsetToGR(int num)
    • designateCharacterSet

      void designateCharacterSet(int tableNumber, char ch)
    • setAnsiConformanceLevel

      void setAnsiConformanceLevel(int level)
    • writeDoubleByte

      void writeDoubleByte(char[] bytes) throws UnsupportedEncodingException
      Throws:
      UnsupportedEncodingException
    • writeCharacters

      void writeCharacters(String string)
    • distanceToLineEnd

      int distanceToLineEnd()
    • reverseIndex

      void reverseIndex()
    • index

      void index()
    • nextLine

      void nextLine()
    • fillScreen

      void fillScreen(char c)
    • saveCursor

      void saveCursor()
    • restoreCursor

      void restoreCursor()
    • reset

      void reset()
    • characterAttributes

      void characterAttributes(TextStyle textStyle)
    • setScrollingRegion

      void setScrollingRegion(int top, int bottom)
    • scrollUp

      void scrollUp(int count)
    • scrollDown

      void scrollDown(int count)
    • resetScrollRegions

      void resetScrollRegions()
    • cursorHorizontalAbsolute

      void cursorHorizontalAbsolute(int x)
    • linePositionAbsolute

      void linePositionAbsolute(int y)
    • cursorPosition

      void cursorPosition(int x, int y)
    • cursorUp

      void cursorUp(int countY)
    • cursorDown

      void cursorDown(int dY)
    • cursorForward

      void cursorForward(int dX)
    • cursorBackward

      void cursorBackward(int dX)
    • cursorShape

      void cursorShape(CursorShape shape)
    • eraseInLine

      void eraseInLine(int arg)
    • deleteCharacters

      void deleteCharacters(int count)
    • getTerminalWidth

      int getTerminalWidth()
    • getTerminalHeight

      int getTerminalHeight()
    • eraseInDisplay

      void eraseInDisplay(int arg)
    • setModeEnabled

      void setModeEnabled(TerminalMode mode, boolean enabled)
    • disconnected

      void disconnected()
    • getCursorX

      int getCursorX()
    • getCursorY

      int getCursorY()
    • singleShiftSelect

      void singleShiftSelect(int num)
    • setWindowTitle

      void setWindowTitle(String name)
    • saveWindowTitleOnStack

      void saveWindowTitleOnStack()
    • restoreWindowTitleFromStack

      void restoreWindowTitleFromStack()
    • clearScreen

      void clearScreen()
    • setCursorVisible

      void setCursorVisible(boolean visible)
    • useAlternateBuffer

      void useAlternateBuffer(boolean enabled)
    • setApplicationArrowKeys

      void setApplicationArrowKeys(boolean enabled)
    • setApplicationKeypad

      void setApplicationKeypad(boolean enabled)
    • setAutoNewLine

      void setAutoNewLine(boolean enabled)
    • getStyleState

      StyleState getStyleState()
    • insertLines

      void insertLines(int count)
    • deleteLines

      void deleteLines(int count)
    • setBlinkingCursor

      void setBlinkingCursor(boolean enabled)
    • eraseCharacters

      void eraseCharacters(int count)
    • insertBlankCharacters

      void insertBlankCharacters(int count)
    • clearTabStopAtCursor

      void clearTabStopAtCursor()
    • clearAllTabStops

      void clearAllTabStops()
    • setTabStopAtCursor

      void setTabStopAtCursor()
    • writeUnwrappedString

      void writeUnwrappedString(String string)
    • setTerminalOutput

      void setTerminalOutput(TerminalOutputStream terminalOutput)
    • setAltSendsEscape

      void setAltSendsEscape(boolean enabled)
    • deviceStatusReport

      void deviceStatusReport(String str)
    • deviceAttributes

      void deviceAttributes(byte[] response)
    • setBracketedPasteMode

      void setBracketedPasteMode(boolean enabled)