thestinger / termite

Termite is obsoleted by Alacritty. Termite was a keyboard-centric VTE-based terminal, aimed at use within a window manager with tiling and/or tabbing support.
https://github.com/alacritty/alacritty
2.73k stars 240 forks source link

Fix clear scrollback issue #675

Closed ryancarins closed 5 years ago

jelly commented 5 years ago

What's the rationale behind this change?

ryancarins commented 5 years ago

@jelly If you mean the change of 2j to 3j it's so that the scrollback buffer is cleared as well as the screen. If you mean the change in general it is to fix an issue that is flagged as a bug where clear doesn't clear the scrollback buffer completely.

ifohancroft commented 5 years ago

For me, there is a problem when using 3j, that it does clear the scrollback but not the current screen.

ifohancroft commented 5 years ago

I am starting to think that 'clear' should stay as it is. I see how it useful to have both 'clear' and 'clear scrollback and reset' as sometimes you may want to clear the output but be able to scrollback to it and sometimes you may want to totally get rid of the output. What do you think? I will be closing my issue about it.