1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:27:35 +00:00

Kernel: Make ^W and ^U actually erase characters

This is quite hackish but it makes using the js REPL a lot nicer. :^)
This commit is contained in:
Andreas Kling 2020-03-26 08:15:29 +01:00
parent 5ba8247cbb
commit f3c245fb96
2 changed files with 10 additions and 2 deletions

View file

@ -74,6 +74,7 @@ protected:
bool can_do_backspace() const;
void do_backspace();
void erase_word();
void erase_character();
void kill_line();
void flush_input();