mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 02:40:24 +08:00
commit
91c858ead2
@ -309,8 +309,8 @@ static void finsh_wait_auth(void)
|
||||
else if (ch == '\b' && cur_pos > 0)
|
||||
{
|
||||
/* backspace */
|
||||
password[cur_pos] = '\0';
|
||||
cur_pos--;
|
||||
password[cur_pos] = '\0';
|
||||
rt_kprintf("\b \b");
|
||||
}
|
||||
else if (ch == '\r' || ch == '\n')
|
||||
|
Loading…
x
Reference in New Issue
Block a user