Cli: ctrl+c reset buffer (#639)

This commit is contained in:
あく 2021-08-13 16:18:13 +03:00 committed by GitHub
parent eb49c29fa3
commit 129031e779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,6 +302,9 @@ void cli_process_input(Cli* cli) {
} else if(c == CliSymbolAsciiSOH) {
cli_motd();
cli_prompt(cli);
} else if(c == CliSymbolAsciiETX) {
cli_reset(cli);
cli_prompt(cli);
} else if(c == CliSymbolAsciiEOT) {
cli_reset(cli);
} else if(c == CliSymbolAsciiEsc) {