Interface HostScreenListener

  • All Known Implementing Classes:
    RemoteHostSession

    public interface HostScreenListener
    Interface used to listen to changes in the terminal screen in order to reflect it to the listening parties.
    Author:
    Christopher Mindus
    • Method Detail

      • onScreenClear

        void onScreenClear()
        The display has been cleared, i.e. entire screen blanked with spaces and default color.
      • onCursorChanged

        void onCursorChanged​(int x,
                             int y)
        The cursor position has changed.
        Parameters:
        x - X position on screen.
        y - Y position on screen.
      • onScreenChanged

        void onScreenChanged​(int begin,
                             int end)
        The screen has changed between two points in a wrapping fashion.
        Parameters:
        begin - The beginning position.
        end - The end position (inclusive).
      • onScreenSizeChanged

        void onScreenSizeChanged​(int cx,
                                 int cy)
        The screen size has changed.
        Parameters:
        cx - The new width.
        cy - The new height.