mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 01:28:23 +00:00
Update shell.c
This commit is contained in:
@@ -309,7 +309,7 @@ static void finsh_wait_auth(void)
|
||||
else if (ch == '\b' && cur_pos > 0)
|
||||
{
|
||||
/* backspace */
|
||||
cur_pos--;
|
||||
cur_pos--;
|
||||
password[cur_pos] = '\0';
|
||||
rt_kprintf("\b \b");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user