WindTerm icon indicating copy to clipboard operation
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?

Open amaoo opened this issue 1 year ago • 3 comments

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

amaoo avatar Dec 14 '23 05:12 amaoo

Thank you!

thiagoojack avatar Jul 27 '24 16:07 thiagoojack

This doesn't solve the problem, vim still displays garbled characters. Dingtalk_20240814094523

pengln avatar Aug 14 '24 01:08 pengln

change Term type to vt520 Screenshot from 2024-08-21 14-51-27

ipenglei466 avatar Aug 21 '24 06:08 ipenglei466

change Term type to vt520 Screenshot from 2024-08-21 14-51-27

only work for a short while. So troublesome.

moshangluoying avatar Oct 18 '24 05:10 moshangluoying

add this line in .vimrc

set t_RK=

It works to me.

bigplaice avatar Dec 23 '24 09:12 bigplaice

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.

kingToolbox avatar Jan 12 '25 02:01 kingToolbox