After a less update in my distribution I noticed that PageUp / PageDown keys stopped working in less. The bisect says that it stopped working after 9ea9003 commit.
Reverting the commit on top of master also fixes PageUp / PageDown keys for me:
--- a/decode.c
+++ b/decode.c
@@ -699,9 +699,7 @@ static int cmd_search(constant char *cmd, constant char *table, constant char *e
* but not the end of the string in the command table.
* The user's command is incomplete.
*/
- if (a == A_INVALID)
- a = A_PREFIX;
- q = cmd-1;
+ return A_PREFIX;
} else
{
/*
The system is linux with alacritty terminal.
After a
lessupdate in my distribution I noticed thatPageUp/PageDownkeys stopped working inless. The bisect says that it stopped working after 9ea9003 commit.Reverting the commit on top of
masteralso fixesPageUp/PageDownkeys for me:The system is
linuxwithalacrittyterminal.