sfeed_curses

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

commit 3caab1e4bce76a7aeb72615c1baa9cd77784ec2b
parent 1a171069b7afbaf99d9f6cde96b5fba1d0e4dc8d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 27 Jun 2020 10:30:50 +0200

add 'c' hotkey for viewing (c)ontent

On a qwerty layout this is on the left-side of the keyboard. It is more
convenient to me.

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

diff --git a/sfeed_curses.1 b/sfeed_curses.1 @@ -83,7 +83,7 @@ Feeds pane: load feed and its items. Items pane: plumb current item url. The url is passed as a parameter to the program specified in .Ev SFEED_PLUMBER . -.It p, | +.It c, p, | Pipe TAB-Separated Value line to a program. The line is piped to the program specified in .Ev SFEED_PIPER . diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -1494,7 +1494,8 @@ nextpage: plumb(item->url); } break; - case 'p': /* items: pipe TSV line to program */ + case 'c': /* items: pipe TSV line to program */ + case 'p': case '|': if (selpane == PaneItems && panes[PaneItems].nrows) { p = &panes[PaneFeeds];