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 prefer to have this plugin keep the scrollback buffer when clearing the screen.
To do so I added the -x flag to the clear command on line 16 of almostontop.plugin.zsh.
Now after every command the screen is cleared but I am still able to access the outputs of previous commands by scrolling up.
The text was updated successfully, but these errors were encountered:
Interesting. For me, the clear command deletes it from the scrollback buffer so I can't scroll up to see the previously executed commands. I am using the xfce4-terminal app, so I assume that may be the reason.
From the clear man page:
OPTIONS
...
-x do not attempt to clear the terminal's scrollback buffer using the
extended “E3” capability.
So by using clear -x instead of clear it keeps the scrollback buffer for me.
I prefer to have this plugin keep the scrollback buffer when clearing the screen.
To do so I added the
-x
flag to the clear command on line 16 of almostontop.plugin.zsh.Now after every command the screen is cleared but I am still able to access the outputs of previous commands by scrolling up.
The text was updated successfully, but these errors were encountered: