fix scroll handling regression and remove ctrl+scroll feature to adjust sidebar… | |
git clone git://git.codemadness.org/sfeed_curses | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 357de99788bf6760165d1934d4dc4838c18f1583 | |
parent 39fe4803fb3595e9425efae568c2e9a53f143a4c | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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 | |
diff --git a/sfeed_curses.c b/sfeed_curses.c | |
@@ -1686,11 +1686,6 @@ mousereport(int button, int release, int keymask, int x,… | |
/* 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; |