summaryrefslogtreecommitdiff
path: root/sys/stand/boot/cmd.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-06-06 16:26:58 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-06-06 16:26:58 +0000
commitb4961539d25a0eba0dc527484e9d915ba2514ac8 (patch)
treee72733ed88c8ea291d18d117a572540b8db15839 /sys/stand/boot/cmd.c
parentcc90388122158a88210299721a27d2f9e54d46ac (diff)
fix twiddle() without breaking backspace
Diffstat (limited to 'sys/stand/boot/cmd.c')
-rw-r--r--sys/stand/boot/cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c
index 84f52e813cf..11a96c014c3 100644
--- a/sys/stand/boot/cmd.c
+++ b/sys/stand/boot/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.15 1997/05/31 15:48:25 mickey Exp $ */
+/* $OpenBSD: cmd.c,v 1.16 1997/06/06 16:26:56 kstailey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -272,7 +272,7 @@ readline(buf, to)
break;
case '\b':
if (p > buf) {
- putchar('\b');
+ putchar('\177');
p--;
pe--;
}