Interface TerminalListener

  • All Known Implementing Classes:
    TTerminal, TTextPicture

    public interface TerminalListener
    TerminalListener is used to callback into external UI when the terminal state has changed.
    • Method Detail

      • postUpdate

        void postUpdate​(TerminalState terminalState)
        Function to call when the terminal state has updated.
        Parameters:
        terminalState - the new (now current) terminal state
      • getDisplayWidth

        int getDisplayWidth()
        Function to call to obtain the external UI display width.
        Returns:
        the number of columns in the display
      • getDisplayHeight

        int getDisplayHeight()
        Function to call to obtain the external UI display height.
        Returns:
        the number of rows in the display
      • getClipboard

        Clipboard getClipboard()
        Get the system clipboard to use for OSC 52.
        Returns:
        the clipboard