Interface WindowListener

    • Method Detail

      • onResized

        void onResized​(Window window,
                       TerminalSize oldSize,
                       TerminalSize newSize)
        Called whenever the window's size has changed, no matter if it was done by the window manager or the user
        Parameters:
        window - Window that was resized
        oldSize - Previous size of the window
        newSize - New size of the window
      • onMoved

        void onMoved​(Window window,
                     TerminalPosition oldPosition,
                     TerminalPosition newPosition)
        Called whenever the window's position has changed, no matter if it was done by the window manager or the user
        Parameters:
        window - Window that was repositioned
        oldPosition - Previous position of the window
        newPosition - New position of the window