code: public void moveToStartOfLine() {
          String currentLine = getContent(getLine());
          LinkedList<String> toDisplayLines = toDisplayLines(currentLine);
          int remainingLines = toDisplayLines.size() - getColumn() / terminal.getWidth();
          for (int r = 0; r < remainingLines; r++) {
              toDisplayLines.removeLast();
          }
          frameColumn = 1;
          delegate.moveToStartOfLine();
          for (int l = toDisplayLines.size() - 1; l >= 0; l--) {
              frameLine--;
              if (frameLine <= 0) {
                  frameLine = 1;
                  scrollDown(1);
                  console.out().print(ansi().cursor(frameLine + getHeaderSize(), 1));
                  displayText(toDisplayLines.get(l));
                  console.out().print(ansi().cursor(frameLine + getHeaderSize(), getColumn()));
              }
          }
          console.out().print(ansi().cursor(frameLine + getHeaderSize(), frameColumn));
      }
docs: Moves cursor to the end of the current line.