diff options
| author | Bernard Xiong <[email protected]> | 2019-05-30 08:37:19 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-05-30 08:37:19 +0800 |
| commit | 91c858ead231bdef64478f59a0fe3b43128be21b (patch) | |
| tree | e4f23356cbf68c45872210ef584803c4d127830a | |
| parent | 36219d61bd26f8fb46e19c86aa8fd1bd715c0ddf (diff) | |
| parent | 52d1e51e3e4e25fcf8460af0bc65532ed647321c (diff) | |
Merge pull request #2740 from loogg/master
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 53dcd11c66..3a02e24c2e 100644 --- a/components/finsh/shell.c +++ b/components/finsh/shell.c @@ -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') |
