From 031b279e81cf461584789c00ce7d10c4f1d0d90f Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 2 Apr 2022 13:54:49 +0200 Subject: sfeed_curses: code-style: mouse mode: just use a constant No functional change intended. Just slightly more clear. --- sfeed_curses.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfeed_curses.c b/sfeed_curses.c index 03c38fe..d09f8a0 100644 --- a/sfeed_curses.c +++ b/sfeed_curses.c @@ -549,7 +549,7 @@ init(void) cursormode(0); if (usemouse) - mousemode(usemouse); + mousemode(1); memset(&sa, 0, sizeof(sa)); sigemptyset(&sa.sa_mask); @@ -1025,7 +1025,7 @@ lineeditor(void) } } if (usemouse) - mousemode(usemouse); + mousemode(1); return input; } -- cgit v1.2.3