2004-03-12 Yoshinori K. Okuji <okuji@enbug.org>

* stage2/serial.c (serial_putchar): Handle the character code
	127 as a backspace. Reported by Florian Engelhardt
	<f.engelhardt@gmx.net>.
This commit is contained in:
okuji 2004-03-12 18:27:23 +00:00
parent b42b9b7e22
commit 7b43bbe40e
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-03-12 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/serial.c (serial_putchar): Handle the character code
127 as a backspace. Reported by Florian Engelhardt
<f.engelhardt@gmx.net>.
2004-03-12 Yoshinori K. Okuji <okuji@enbug.org>
From Boji Tony Kannanthanam <boji.t.kannanthanam@intel.com>:

View file

@ -371,6 +371,7 @@ serial_putchar (int c)
break;
case '\b':
case 127:
if (serial_x > 0)
serial_x--;
break;