x37 has quit [Quit: void is sucking me in see you later ~.<]
<dnkl>
j`ey: bind a key to CSI 2J
<dnkl>
most shells have that at Ctrl-L by default
xenrox has quit [Remote host closed the connection]
xenrox has joined #foot
<j`ey>
dnkl: oh.. I always thought that was 'redraw' or something
<dnkl>
j`ey: neither clear -x (which usually maps to CSI 3J, nor CSI 2J resets anything. They just clear the screen, and in case of 3J, the scrollback history.
<j`ey>
I see
<j`ey>
I had an issue where a program crashed, but I couldnt scroll up anymore
<dnkl>
guessing the application had switched to the alt screen...
<j`ey>
yeah, neovim
<dnkl>
if so, "tput rmcup" might work
<j`ey>
thanks, will try remember that
<dnkl>
but that will only switch back to the normal screen.
<dnkl>
a soft reset might be better
<dnkl>
printf "\e[!p"
sentriz has quit [Ping timeout: 272 seconds]
sentriz has joined #foot
Arsen has quit [Quit: Quit.]
Arsen has joined #foot
Arsen has quit [Quit: Quit.]
Arsen has joined #foot
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]
jpp has quit [Quit: WeeChat 3.8]
jpp has joined #foot
jpp has joined #foot
erectus has quit [Remote host closed the connection]
erectus has joined #foot
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]