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.
diff --git a/src/os_unix.c b/src/os_unix.c
index 080f03c..9966221 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -3664,6 +3664,13 @@
# 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