summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2023-07-07 11:10:01 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2023-07-07 11:10:01 +0200
commit7afd4987e578631e41333867aa702e326cab87f1 (patch)
treecd64062e48faab40cffa57f9c7e929555d6d09ff
parent4601a1d688d05d300308d2bd861e16c1c81787a3 (diff)
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.
-rw-r--r--sfeed_curses.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfeed_curses.c b/sfeed_curses.c
index 0ce9a4e..95421fd 100644
--- 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 */