pager for sfeed_curses: make sure the text is always at the top - randomcrap - random crap programs of varying quality
(HTM) git clone git://git.codemadness.org/randomcrap
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a92cb6f7334a4c41192b3db282331f4e83bd3739
(DIR) parent ff00bbb6814f498996dce033f06dae8028f65d91
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 7 Sep 2023 18:52:10 +0200
pager for sfeed_curses: make sure the text is always at the top
Some less implementations vertical center the text if it fits.
Diffstat:
M globalshellrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/globalshellrc b/globalshellrc
@@ -93,7 +93,7 @@ bind '^[[3~'='delete-char-forward'
bind '^[[P'=delete-char-forward
sfeedcurses() {
- PAGER="less -Ri" \
+ PAGER="less -Ri +g" \
SFEED_HTMLCONV="webdump -8 -r -i -l -a" \
SFEED_AUTOCMD="${SFEED_AUTOCMD:-tgo}" \
SFEED_LAZYLOAD="${SFEED_LAZYLOAD:-1}" \