mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
less: Add hotkeys f and b to scroll screen up/down
This commit is contained in:
parent
42a76b6c2d
commit
46ed6303a2
2 changed files with 4 additions and 3 deletions
|
@ -622,9 +622,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
else
|
||||
pager.bottom();
|
||||
}
|
||||
} else if (sequence == " " || sequence == "\e[6~") {
|
||||
} else if (sequence == " " || sequence == "f" || sequence == "\e[6~") {
|
||||
pager.down_page();
|
||||
} else if (sequence == "\e[5~" && !emulate_more) {
|
||||
} else if ((sequence == "\e[5~" || sequence == "b") && !emulate_more) {
|
||||
pager.up_page();
|
||||
} else if (sequence == "d") {
|
||||
pager.down_half_page();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue