summaryrefslogtreecommitdiffstats
path: root/commands/edit.c
diff options
context:
space:
mode:
authorSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-10-04 18:36:24 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-10-04 18:36:24 +0200
commit828dbf9f3c0aea98ae0b65ddb04646e9652f3daa (patch)
tree3a12c9b07e6e1c9de99ad5d72f7c60b00c931990 /commands/edit.c
parent6905ed5bf3fcea60dcf173743c0ba363b4c05060 (diff)
downloadbarebox-828dbf9f3c0aea98ae0b65ddb04646e9652f3daa.tar.gz
barebox-828dbf9f3c0aea98ae0b65ddb04646e9652f3daa.tar.xz
edit: add 8 as backspace code
Diffstat (limited to 'commands/edit.c')
-rw-r--r--commands/edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/edit.c b/commands/edit.c
index ae2fb8c40a..fd9afba8a4 100644
--- a/commands/edit.c
+++ b/commands/edit.c
@@ -500,6 +500,7 @@ static int do_edit(cmd_tbl_t * cmdtp, int argc, char *argv[])
split_line();
break;
case 127:
+ case 8:
if (textx > 0) {
textx--;
delete_char(textx);