fix escape drawing symbols
which is now clears the console input
This commit is contained in:
parent
50ea7a0bea
commit
f4d179eddb
@ -292,6 +292,13 @@ namespace console
|
||||
update();
|
||||
break;
|
||||
}
|
||||
case VK_ESCAPE:
|
||||
{
|
||||
con.cursor = 0;
|
||||
clear_output();
|
||||
strncpy_s(con.buffer, "", sizeof(con.buffer));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
const auto c = record.Event.KeyEvent.uChar.AsciiChar;
|
||||
|
Loading…
Reference in New Issue
Block a user