WindTerm
WindTerm copied to clipboard
Regarding the ESC[?4m problem with vim 9 can you update a temporary version first or is there a patch for that?
Hello @kingToolbox ,
Currently, many servers have upgraded their VIM version to V9, but there is a problem that ESC[?4m(https://github.com/kingToolbox/WindTerm/issues/1623#issuecomment-1654928805) appears when editing a file, although it can be fixed temporarily by the following ways, but it is always troublesome.
Write these into .vimrc:
set keyprotocol=
let &term=&term
Thank you!
This doesn't solve the problem, vim still displays garbled characters.
change Term type to vt520
change Term type to vt520
only work for a short while. So troublesome.
add this line in .vimrc
set t_RK=
It works to me.
Duplicate of #1623
The ESC [?4m control sequence (XTQMODKEYS , Query key modifier options) was introduced in vim 9.0. WindTerm 2.7.0 Prerelease 2 now supports parsing ESC [?4m. Please download and try it. Thank you.
@pengln
It looks like you were launching vi within WSL. WindTerm 2.7.0 Prerelease 2 now uses WinPty instead of ConPty to launch WSL. This change should temporarily address the problem you were experiencing.
