mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
less: Allow quitting with uppercase 'Q'
This commit is contained in:
parent
c9e4a82c04
commit
784ac6b9f2
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
if (sequence.to_uint().has_value()) {
|
||||
modifier_buffer.append(sequence);
|
||||
} else {
|
||||
if (sequence == "" || sequence == "q") {
|
||||
if (sequence == "" || sequence == "q" || sequence == "Q") {
|
||||
break;
|
||||
} else if (sequence == "j" || sequence == "\e[B" || sequence == "\n") {
|
||||
if (!emulate_more) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue