diff options
Diffstat (limited to 'os/various')
-rw-r--r-- | os/various/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/various/shell.c b/os/various/shell.c index 69365133e..15e86051a 100644 --- a/os/various/shell.c +++ b/os/various/shell.c @@ -282,7 +282,7 @@ bool shellGetLine(BaseSequentialStream *chp, char *line, unsigned size) { chprintf(chp, "^D");
return TRUE;
}
- if (c == 8) {
+ if ((c == 8) || (c == 127)) {
if (p != line) {
chSequentialStreamPut(chp, c);
chSequentialStreamPut(chp, 0x20);
|