qterminal
qterminal copied to clipboard
Reset to Initial State (RIS) escape sequence does not clear scrollback
$ qterminal --version 0.7.1
Enter this command: (I'm using bash) printf '\ec' or printf '\033c'
Expected behavior: Output is cleared and scrollback is reset.
Actual behavior: Output is shifted up but not really cleared. Seems to do the equivalent of Ctrl+L
Work around: Actions -> Clear Current Tab (Ctrl+Shift+X)
Background info: https://en.wikipedia.org/wiki/ANSI_escape_code
ESC c RIS - Reset to Initial State Resets the device to its original state. This may include (if applicable): reset graphic rendition, clear tabulation stops, reset to default font, and more.