diff --git a/components/finsh/shell.c b/components/finsh/shell.c index 1c7c22e336..2b9349364c 100644 --- a/components/finsh/shell.c +++ b/components/finsh/shell.c @@ -535,7 +535,7 @@ static void finsh_thread_entry(void *parameter) } else if (shell->stat == WAIT_SPEC_KEY) { - if (ch == 0x5b) + if (ch == 0x5b || ch == 0x41 || ch == 0x42 || ch == 0x43 || ch == 0x44) { shell->stat = WAIT_FUNC_KEY; continue;