diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-06-06 18:23:44 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-06-06 18:23:44 +0000 |
commit | de4ee130ea43ee46a38d4f22f55f4b334316af44 (patch) | |
tree | 0443330191a1ad80c97635b3a0b20dde99f52a91 /sys/stand/boot | |
parent | 95be004edddac15bdddacbf0e55ab4204403893f (diff) |
use destructive erase
Diffstat (limited to 'sys/stand/boot')
-rw-r--r-- | sys/stand/boot/cmd.c | 6 |
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; |