shithub: orca

Download patch

ref: 7f06b5f830a24e46b0a65cf9dc102144b0ea7b6b
parent: 25a2df03db0887fcb57dd77ae6d51af8ac017b36
author: Nicola Pisanti <nicola@npisanti.com>
date: Tue Jul 2 05:47:45 EDT 2019

deactivate mouse by default, #define ORCA_USES_MOUSE 1 for activate

--- a/tui_main.c
+++ b/tui_main.c
@@ -22,6 +22,8 @@
 static int spin_track_timeout = 0;
 #endif
 
+#define ORCA_USES_MOUSE 0
+
 static void usage(void) {
   // clang-format off
   fprintf(stderr,
@@ -2270,6 +2272,7 @@
       }
       goto next_getch;
     }
+#if ORCA_USES_MOUSE
     case KEY_MOUSE: {
       MEVENT mevent;
       if (cont_window && getmouse(&mevent) == OK) {
@@ -2291,6 +2294,7 @@
       }
       goto next_getch;
     }
+#endif
     case CTRL_PLUS('q'):
       goto quit;
     }