From 129031e779a6564c2eacaaa170ba20be4399bcc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=81=8F?= Date: Fri, 13 Aug 2021 16:18:13 +0300 Subject: [PATCH] Cli: ctrl+c reset buffer (#639) --- applications/cli/cli.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applications/cli/cli.c b/applications/cli/cli.c index ab5451dc..11465a99 100644 --- a/applications/cli/cli.c +++ b/applications/cli/cli.c @@ -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) {