fix scroll handling regression and remove ctrl+scroll feature to adjust sidebar - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
(HTM) git clone git://git.codemadness.org/sfeed_curses
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 357de99788bf6760165d1934d4dc4838c18f1583
(DIR) parent 39fe4803fb3595e9425efae568c2e9a53f143a4c
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 24 Mar 2021 22:45:19 +0100
fix scroll handling regression and remove ctrl+scroll feature to adjust sidebar
Diffstat:
M sfeed_curses.1 | 8 +-------
M sfeed_curses.c | 5 -----
2 files changed, 1 insertion(+), 12 deletions(-)
---
(DIR) diff --git a/sfeed_curses.1 b/sfeed_curses.1
@@ -1,4 +1,4 @@
-.Dd March 23, 2021
+.Dd March 24, 2021
.Dt SFEED_CURSES 1
.Os
.Sh NAME
@@ -165,12 +165,6 @@ Items pane: pipe the item.
Scroll one page up.
.It SCROLL DOWN
Scroll one page down.
-.It CTRL+SCROLL UP
-Use a fixed sidebar size for the current layout and decrease the fixed width or
-height by 1 column.
-.It CTRL+SCROLL DOWN
-Use a fixed sidebar size for the current layout and increase the fixed width or
-height by 1 column.
.It FORWARD
Switch to the items pane.
.It BACKWARD
(DIR) diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -1686,11 +1686,6 @@ mousereport(int button, int release, int keymask, int x, int y)
/* these button actions are done regardless of the position */
switch (button) {
- case 3: /* ctrl+scroll up */
- case 4: /* ctrl+scroll down */
- if ((keymask & 16))
- adjustsidebarsize(button == 3 ? -1 : +1);
- return;
case 7: /* side-button: backward */
if (selpane == PaneFeeds)
return;