mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
less: Allow quitting with uppercase 'Q'
This commit is contained in:
parent
c9e4a82c04
commit
784ac6b9f2
Notes:
sideshowbarker
2024-07-17 03:14:39 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/784ac6b9f2 Pull-request: https://github.com/SerenityOS/serenity/pull/21121
@ -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…
Reference in New Issue
Block a user