Open GoogleCodeExporter opened 9 years ago
Adding `set t_u7=` to the top of my vimrc as a workaround fixes it.
Original comment by dbarn...@google.com
on 2 Aug 2015 at 9:24
Oh, and it's a transient issue not consistently reproducible. I think it has
something to do with my machine being slow and/or using vim over SSH, but it
repros in xterm, gnome-term, etc.
Original comment by dbarn...@google.com
on 2 Aug 2015 at 9:26
You could try this: in src/term.c, change the length checks to one less:
if ((*T_CRV != NUL || *T_U7 != NUL)
&& ((tp[0] == ESC && len >= 2 && tp[1] == '[')
|| (tp[0] == CSI && len >= 1))
&& (VIM_ISDIGIT(*argp) || *argp == '>' || *argp == '?'))
Assuming that you only received ESC [ it would currently not check for a match,
it needs another character. Disadvantage: if you actually type ESC [ the same
would happen...
Original comment by brammool...@gmail.com
on 4 Aug 2015 at 12:04
FYI, I've been trying to repro so I can try the fix but haven't seen it happen
recently. Vim hasn't updated so I don't think it's actually fixed itself. Still
keeping an eye on it.
Original comment by dbarn...@google.com
on 14 Aug 2015 at 5:31
I got it to repro again and changing the length checks like #3 above doesn't
seem to have helped.
Original comment by dbarn...@google.com
on 18 Aug 2015 at 1:36
Original issue reported on code.google.com by
dbarn...@google.com
on 2 Aug 2015 at 9:23Attachments: