summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2022-04-02 13:54:49 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-04-02 13:54:49 +0200
commit031b279e81cf461584789c00ce7d10c4f1d0d90f (patch)
treee44df677631f56203ac33b9dae047fbb9f79345b
parentf4c4b97bba99c7848bf3cda287564db8219b0f40 (diff)
sfeed_curses: code-style: mouse mode: just use a constant
No functional change intended. Just slightly more clear.
-rw-r--r--sfeed_curses.c4
1 files 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;
}