diff options
| author | loogg <[email protected]> | 2019-05-29 20:34:03 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-05-29 20:34:03 +0800 |
| commit | 52d1e51e3e4e25fcf8460af0bc65532ed647321c (patch) | |
| tree | 8b84bbe28a20c1ab9a1a06e76c8a0b37c77ca1c8 | |
| parent | b29154673e3bf5f0997e98ac20518ef9f874216e (diff) | |
Update shell.c
| -rw-r--r-- | components/finsh/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/shell.c b/components/finsh/shell.c index 98a63bdbbf..3a02e24c2e 100644 --- a/components/finsh/shell.c +++ b/components/finsh/shell.c @@ -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"); } |
