mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.0329: using inputlist() during startup results in garbage
Problem: Using inputlist() during startup results in garbage. (Dominique Pelle) Solution: Make sure the xterm tracing is stopped when disabling the mouse.
This commit is contained in:
parent
4cbdf155ca
commit
a06afc7f5e
@ -3664,6 +3664,13 @@ mch_setmouse(int on)
|
||||
# endif
|
||||
int xterm_mouse_vers;
|
||||
|
||||
# if defined(FEAT_X11) && defined(FEAT_XCLIPBOARD)
|
||||
if (!on)
|
||||
// Make sure not tracing mouse movements. Important when a button-down
|
||||
// was received but no release yet.
|
||||
stop_xterm_trace();
|
||||
# endif
|
||||
|
||||
if (on == mouse_ison
|
||||
# ifdef FEAT_BEVAL_TERM
|
||||
&& p_bevalterm == bevalterm_ison
|
||||
|
@ -794,6 +794,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
329,
|
||||
/**/
|
||||
328,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user