Class Status.MovingCursorDisplay

java.lang.Object
org.jline.utils.Display
org.jline.utils.Status.MovingCursorDisplay
Enclosing class:
Status

static class Status.MovingCursorDisplay extends Display
  • Field Details

    • firstLine

      protected int firstLine
  • Constructor Details

    • MovingCursorDisplay

      public MovingCursorDisplay(Terminal terminal)
  • Method Details

    • update

      public void update(List<AttributedString> newLines, int targetCursorPos, boolean flush)
      Description copied from class: Display
      Update the display according to the new lines.
      Overrides:
      update in class Display
      Parameters:
      newLines - the lines to display
      targetCursorPos - desired cursor position - see Size.cursorPos.
      flush - whether the output should be flushed or not
    • moveVisualCursorTo

      protected void moveVisualCursorTo(int targetPos, List<AttributedString> newLines)
      Overrides:
      moveVisualCursorTo in class Display
    • moveVisualCursorTo

      protected int moveVisualCursorTo(int i1)
      Overrides:
      moveVisualCursorTo in class Display
    • initCursor

      void initCursor()