Kernel: TTY now handles ESC key presses
This allows exiting vim :D
This commit is contained in:
parent
a33b63d066
commit
9ea4c777ad
|
@ -193,6 +193,9 @@ namespace Kernel
|
||||||
case LibInput::Key::Backspace:
|
case LibInput::Key::Backspace:
|
||||||
ansi_c_str = "\b";
|
ansi_c_str = "\b";
|
||||||
break;
|
break;
|
||||||
|
case LibInput::Key::Escape:
|
||||||
|
ansi_c_str = "\e";
|
||||||
|
break;
|
||||||
case LibInput::Key::ArrowUp:
|
case LibInput::Key::ArrowUp:
|
||||||
ansi_c_str = "\e[A";
|
ansi_c_str = "\e[A";
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue