summaryrefslogtreecommitdiff
path: root/sys/stand/boot/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/stand/boot/cmd.c')
-rw-r--r--sys/stand/boot/cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c
index 11a96c014c3..8268bbe48f1 100644
--- a/sys/stand/boot/cmd.c
+++ b/sys/stand/boot/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.16 1997/06/06 16:26:56 kstailey Exp $ */
+/* $OpenBSD: cmd.c,v 1.17 1997/06/06 18:23:43 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -258,12 +258,12 @@ readline(buf, to)
switch ((ch = getchar())) {
case CTRL('r'):
while (pe > buf)
- putchar('\b');
+ putchar('\177');
printf(buf);
case CTRL('u'):
while (pe >= buf) {
pe--;
- putchar('\b');
+ putchar('\177');
}
p = pe = buf;
continue;