mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 07:29:23 +00:00
Add CTRL-U shortcut to QuickJS REPL
This commit is contained in:
parent
fde939291d
commit
1531f1a4a7
1 changed files with 1 additions and 0 deletions
1
third_party/quickjs/repl.js
vendored
1
third_party/quickjs/repl.js
vendored
|
@ -756,6 +756,7 @@ import * as os from "os";
|
||||||
"\x12": alert, /* ^R - reverse-search */
|
"\x12": alert, /* ^R - reverse-search */
|
||||||
"\x13": alert, /* ^S - search */
|
"\x13": alert, /* ^S - search */
|
||||||
"\x14": transpose_chars, /* ^T - transpose */
|
"\x14": transpose_chars, /* ^T - transpose */
|
||||||
|
"\x15": backward_kill_line, /* ^U - clear backwards */
|
||||||
"\x18": reset, /* ^X - cancel */
|
"\x18": reset, /* ^X - cancel */
|
||||||
"\x19": yank, /* ^Y - yank */
|
"\x19": yank, /* ^Y - yank */
|
||||||
"\x1bOA": previous_history, /* ^[OA - up */
|
"\x1bOA": previous_history, /* ^[OA - up */
|
||||||
|
|
Loading…
Add table
Reference in a new issue