Clears the current line in the terminal, accounting for text that wraps across multiple lines.

  • Parameters

    • terminal: Terminal

      The xterm terminal instance

    • contentLength: number

      The total visible character count on the line (prompt + text)

    Returns void