1
0
forked from aniani/vim

patch 9.0.0912: libvterm with modifyOtherKeys level 2 does not match xterm

Problem:    libvterm with modifyOtherKeys level 2 does not match xterm.
Solution:   Adjust key code escape sequences to be the same as what xterm
            sends in modifyOtherKeys level 2 mode.  Check the value of
            no_reduce_keys before using it.
This commit is contained in:
Bram Moolenaar
2022-11-19 19:02:40 +00:00
parent e6392b1021
commit c896adbcde
8 changed files with 70 additions and 13 deletions

View File

@@ -319,10 +319,10 @@ def DoTerm(name: string)
ch_logfile('keylog-ignore', 'a')
while 1
sleep 100m
if !getchar(1)
if getchar(1) == 0
break
endif
while getchar(1)
while getchar(1) != 0
getchar()
endwhile
endwhile