aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/shell/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/various/shell/shell.c')
-rw-r--r--os/various/shell/shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/various/shell/shell.c b/os/various/shell/shell.c
index 19de2f958..054a7d6b9 100644
--- a/os/various/shell/shell.c
+++ b/os/various/shell/shell.c
@@ -521,9 +521,9 @@ bool shellGetLine(ShellConfig *scfg, char *line, unsigned size, ShellHistory *sh
#endif
if ((c == 8) || (c == 127)) {
if (p != line) {
- streamPut(chp, c);
+ streamPut(chp, 0x08);
streamPut(chp, 0x20);
- streamPut(chp, c);
+ streamPut(chp, 0x08);
p--;
}
continue;