sfeed_curses

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

commit cc13f8869bee136ac7fca51628fc54de13d347e8
parent a8d8e8a6e4c97923be8bb095751e25ffbe31811c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed,  1 Jul 2020 18:49:22 +0200

small code-style and comment

Diffstat:
Msfeed_curses.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -323,7 +323,7 @@ printpad(const char *s, int width) void resettitle(void) { - printf("\x1b%c", 'c'); /* reset title and state */ + fputs("\x1b""c", stdout); /* reset title and state */ } void @@ -1564,7 +1564,7 @@ nextpage: break; case 'R': /* reload all files */ if (nfeeds == 1 && !feeds[0].path) - break; + break; /* do not reload when read from stdin */ feeds_set(NULL); feeds_load(feeds, nfeeds); feeds_set(&feeds[0]);