]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/tui/tui.c
Initial TUI mouse support
[thirdparty/binutils-gdb.git] / gdb / tui / tui.c
index af92b2a804261fb83965db679f28de15cd68635f..529fc62c9ac3000c4c8c1b082d45e9311679abdf 100644 (file)
@@ -508,6 +508,10 @@ tui_disable (void)
   rl_startup_hook = 0;
   rl_already_prompted = 0;
 
+#ifdef NCURSES_MOUSE_VERSION
+  mousemask (0, NULL);
+#endif
+
   /* Leave curses and restore previous gdb terminal setting.  */
   endwin ();