Add CTRL-U shortcut to QuickJS REPL

This commit is contained in:
Justine Tunney 2022-06-10 03:39:05 -07:00
parent fde939291d
commit 1531f1a4a7

View file

@ -756,6 +756,7 @@ import * as os from "os";
"\x12": alert, /* ^R - reverse-search */
"\x13": alert, /* ^S - search */
"\x14": transpose_chars, /* ^T - transpose */
"\x15": backward_kill_line, /* ^U - clear backwards */
"\x18": reset, /* ^X - cancel */
"\x19": yank, /* ^Y - yank */
"\x1bOA": previous_history, /* ^[OA - up */