Update shell.c

This commit is contained in:
loogg authored and GitHub committed 2019-05-29 20:34:03 +08:00
1 parent b29154673e
commit 52d1e51e3e
1 file changed
+1 -1
+1 -1
View File
@@ -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");
}