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.
This commit is contained in:
Přemysl Eric Janouch 2020-10-31 14:23:45 +01:00
parent 8ccf38ad76
commit 439af8884c
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -2458,7 +2458,7 @@ static struct config_schema g_config_behaviour[] =
{ .name = "backlog_helper", { .name = "backlog_helper",
.comment = "Shell command to display a buffer's history", .comment = "Shell command to display a buffer's history",
.type = CONFIG_ITEM_STRING, .type = CONFIG_ITEM_STRING,
.default_ = "\"LESSSECURE=1 less -M -R +G\"" }, .default_ = "\"LESSSECURE=1 less -M -R +Gb\"" },
{ .name = "backlog_helper_strip_formatting", { .name = "backlog_helper_strip_formatting",
.comment = "Strip formatting from backlog helper input", .comment = "Strip formatting from backlog helper input",
.type = CONFIG_ITEM_BOOLEAN, .type = CONFIG_ITEM_BOOLEAN,