about summary refs log tree commit diff
path: root/users/multi/pkgs/htop/remove-mousing/0001-Tear-out-ncurses-mouse-mode.patch
diff options
context:
space:
mode:
authormulti <depot@in-addr.xyz>2020-08-09T23·24+0000
committermulti <depot@in-addr.xyz>2020-08-10T16·37+0000
commit5851f672aca266bd2716d1b82bc81817d629abc0 (patch)
treef33e1e8214dc3371ee86397bc0031311e1ff0399 /users/multi/pkgs/htop/remove-mousing/0001-Tear-out-ncurses-mouse-mode.patch
parent5e58c8bc288a8da06fc383e45aa30ade0293faa3 (diff)
feat(users/multi): bootstrap home-manager configuration for whitby r/1630
Change-Id: Iad3024a5a640d33377cfae436134fda9f358397b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1703
Tested-by: BuildkiteCI
Reviewed-by: multi <depot@in-addr.xyz>
Diffstat (limited to 'users/multi/pkgs/htop/remove-mousing/0001-Tear-out-ncurses-mouse-mode.patch')
-rw-r--r--users/multi/pkgs/htop/remove-mousing/0001-Tear-out-ncurses-mouse-mode.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/users/multi/pkgs/htop/remove-mousing/0001-Tear-out-ncurses-mouse-mode.patch b/users/multi/pkgs/htop/remove-mousing/0001-Tear-out-ncurses-mouse-mode.patch
new file mode 100644
index 000000000000..16a19bc03e66
--- /dev/null
+++ b/users/multi/pkgs/htop/remove-mousing/0001-Tear-out-ncurses-mouse-mode.patch
@@ -0,0 +1,29 @@
+From b9575370e6ab804bd9689b99b81b99e4e84116a3 Mon Sep 17 00:00:00 2001
+From: multiplexd <multi@in-addr.xyz>
+Date: Sun, 5 Jul 2020 14:12:03 +0100
+Subject: [PATCH] Tear out ncurses mouse mode
+
+---
+ CRT.c | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/CRT.c b/CRT.c
+index ca9a10d..f6dd1e2 100644
+--- a/CRT.c
++++ b/CRT.c
+@@ -673,12 +673,6 @@ void CRT_init(int delay, int colorScheme) {
+ #endif
+       CRT_treeStrAscii;
+ 
+-#if NCURSES_MOUSE_VERSION > 1
+-   mousemask(BUTTON1_RELEASED | BUTTON4_PRESSED | BUTTON5_PRESSED, NULL);
+-#else
+-   mousemask(BUTTON1_RELEASED, NULL);
+-#endif
+-
+ }
+ 
+ void CRT_done() {
+-- 
+2.20.1
+