mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Utilities/js: Make it possible to exit via two consecutive ^C's
Apparently this is common in the js repl world. Fixes #743.
This commit is contained in:
committed by
Sam Atkins
parent
a6ebd100ec
commit
d3f089dc26
@@ -7,10 +7,6 @@
|
||||
#include <AK/Debug.h>
|
||||
#include <LibLine/Editor.h>
|
||||
|
||||
namespace {
|
||||
constexpr u32 ctrl(char c) { return c & 0x3f; }
|
||||
}
|
||||
|
||||
namespace Line {
|
||||
|
||||
void KeyCallbackMachine::register_key_input_callback(Vector<Key> keys, Function<bool(Editor&)> callback)
|
||||
|
||||
Reference in New Issue
Block a user