Created
June 18, 2022 20:31
-
-
Save johsjohsjohs/69a65814281d1d47f0c72d3500ece65c to your computer and use it in GitHub Desktop.
This is a patch for sfeed_curses that makes the L key also open panel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keyright: | |
case 'l': | |
if (selpane == PaneFeeds && panes[selpane].nrows) | |
feed_open_selected(&panes[selpane]); | |
else if (selpane == PaneItems && panes[selpane].nrows) | |
feed_pipe_selected_item(&panes[selpane]); | |
break; | |
case '\t': | |
selpane = selpane == PaneFeeds ? PaneItems : PaneFeeds; | |
if (layout == LayoutMonocle) | |
updategeom(); | |
break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment