summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-31 14:23:45 +0100
committerPřemysl Eric Janouch <p@janouch.name>2020-10-31 16:00:55 +0100
commit439af8884c5f75d636327bf6b974b510e899d252 (patch)
treee65c8c5be52eeb9bd6e693869775319f265f7e8b
parent8ccf38ad76ada5df87532d137ba73a4abf1f3839 (diff)
downloadxK-439af8884c5f75d636327bf6b974b510e899d252.tar.gz
xK-439af8884c5f75d636327bf6b974b510e899d252.tar.xz
xK-439af8884c5f75d636327bf6b974b510e899d252.zip
degesch: make PageUp actually scroll a page up
Now that the input to the backlog helper is wrapped the same way as what we display. There's a slight issue always triggered by fancy-prompt.lua where a multiline prompt/command line makes less(1) go too high up but it's nothing too important.
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 30cf634..e695752 100644
--- a/degesch.c
+++ b/degesch.c
@@ -2458,7 +2458,7 @@ static struct config_schema g_config_behaviour[] =
{ .name = "backlog_helper",
.comment = "Shell command to display a buffer's history",
.type = CONFIG_ITEM_STRING,
- .default_ = "\"LESSSECURE=1 less -M -R +G\"" },
+ .default_ = "\"LESSSECURE=1 less -M -R +Gb\"" },
{ .name = "backlog_helper_strip_formatting",
.comment = "Strip formatting from backlog helper input",
.type = CONFIG_ITEM_BOOLEAN,