You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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?
Example Source
The text was updated successfully, but these errors were encountered: