From 439af8884c5f75d636327bf6b974b510e899d252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?=
Date: Sat, 31 Oct 2020 14:23:45 +0100 Subject: [PATCH] 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. --- degesch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,