Open
Description
I am having trouble with clearing when lines overflow. If all the lines of the output are within the terminal width, the terminal is cleared properly via the following.
self.term.clear_to_end_of_screen()?;
self.term.clear_last_lines(self.height)?; // height being the number of lines of the written output
But when one of the lines (see screenshow) overflows, the first line of the output is not cleared and written all over again. Even if i account for overflowing lines and increase the height to clear, the first line is not cleared.

Any ideas how to mitigate this?
Metadata
Metadata
Assignees
Labels
No labels