ii8 / havoc

minimal terminal emulator for wayland
Other
103 stars 17 forks source link

terminal codes for adjusting screen by vim dont work #39

Closed matu3ba closed 2 years ago

matu3ba commented 2 years ago

On 1a5a6ce5256293631e4caf07cd498c68028df6c5 see the righthand side

Starting vim

starting_vim

After quitting vim

vim_terminal_codes

Bottom left you see the according console output, which shows unhandled control sequences. Not sure, which ones you want to implement cause there are a big pile of them.

Neovim however works fine.

ii8 commented 2 years ago

So libtsm did a soft reset when it got a DECRQM csi which would reset the alternate screen flag thus causing this problem. I have no idea why this reset was done but xterm doesn't do it so we won't either and I've removed it from libtsm.

ii8 commented 2 years ago

b38c4ec1d3355bafc825e80476fac666f4f5748a

matu3ba commented 2 years ago

works now. thanks.