|
|
sfeed_curses: move one line down when marking an item as read or unread - sfeed - RSS and Atom parser |
|
|
 |
git clone git://git.codemadness.org/sfeed (git://git.codemadness.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
 |
commit 7afd4987e578631e41333867aa702e326cab87f1 |
|
|
 |
parent 4601a1d688d05d300308d2bd861e16c1c81787a3 |
|
|
 |
Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) |
application/vnd.lotus-organizer |
|
|
Date: Fri, 7 Jul 2023 11:10:01 +0200 |
|
|
|
|
|
|
|
sfeed_curses: move one line down when marking an item as read or unread |
|
|
|
|
|
|
|
I don't mind either behaviour, but it has been suggested by a few people. |
|
|
|
For example the mutt mail client also has this behaviour. |
|
|
|
|
|
|
|
Diffstat: |
|
|
|
M sfeed_curses.c | 1 + |
|
|
|
|
|
|
|
1 file changed, 1 insertion(+), 0 deletions(-) |
|
|
|
--- |
|
|
 |
diff --git a/sfeed_curses.c b/sfeed_curses.c |
|
|
|
@@ -2337,6 +2337,7 @@ nextpage: |
|
|
|
if (selpane == PaneItems && panes[selpane].nrows) { |
|
|
|
p = &panes[selpane]; |
|
|
|
markread(p, p->pos, p->pos, ch == 'r'); |
|
|
|
+ pane_scrolln(&panes[selpane], +1); |
|
|
|
} |
|
|
|
break; |
|
|
|
case 's': /* toggle layout between monocle or non-monocle */ |
|