sfeed_curses

[fork] sfeed (atom feed) reader
Log | Files | Refs | README | LICENSE

commit 951c9714bff19a8919af72d2e0e837b2a6521ce5
parent 3a0aaed53b4a4f6f9d1435f99628b2d8a8f9089d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 28 Jun 2020 23:01:24 +0200

theres no need to updategeom when toggling new items

The sidebar stays the same width. Only the sidebar and scrollback (if changed)
have to be updated. The items pane and statusbar can stay the same.

Reduces a bit a flicker-effect noticed in xterm.

Diffstat:
Msfeed_curses.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -1110,6 +1110,7 @@ updatesidebar(int onlynew) p->nrows++; } p->width = width; + p->dirty = 1; } void @@ -1571,7 +1572,6 @@ nextpage: onlynew = !onlynew; pane_setpos(&panes[PaneFeeds], 0); updatesidebar(onlynew); - updategeom(); break; case 'o': /* feeds: load, items: plumb url */ case '\n':