summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-06-06 18:23:44 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-06-06 18:23:44 +0000
commitde4ee130ea43ee46a38d4f22f55f4b334316af44 (patch)
tree0443330191a1ad80c97635b3a0b20dde99f52a91 /sys/arch/i386/stand
parent95be004edddac15bdddacbf0e55ab4204403893f (diff)
use destructive erase
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r--sys/arch/i386/stand/boot/cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/boot/cmd.c b/sys/arch/i386/stand/boot/cmd.c
index 11a96c014c3..8268bbe48f1 100644
--- a/sys/arch/i386/stand/boot/cmd.c
+++ b/sys/arch/i386/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;