Add Ctrl-W support for REPL

This commit is contained in:
Saúl Ibarra Corretgé 2024-09-25 23:10:15 +02:00
parent 9a618ed426
commit b1dc19c4f7
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -783,6 +783,7 @@ import * as bjson from "bjson";
"\x12": alert, /* ^R - reverse-search */
"\x13": alert, /* ^S - search */
"\x14": transpose_chars, /* ^T - transpose */
"\x17": backward_kill_word, /* ^W - backward_kill_word */
"\x18": reset, /* ^X - cancel */
"\x19": yank, /* ^Y - yank */
"\x1bOA": previous_history, /* ^[OA - up */