shithub: orca

Download patch

ref: af16296b9998bf67014f3348d6a285920010bb00
parent: 7f06b5f830a24e46b0a65cf9dc102144b0ea7b6b
author: cancel <cancel@cancel.fm>
date: Thu Jul 4 17:05:39 EDT 2019

Revert "deactivate mouse by default, ..."

This reverts commit 7f06b5f830a24e46b0a65cf9dc102144b0ea7b6b.

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