* fhandler.h (class dev_console): Add backspace_keycode member.

* fhandler_console.cc (fhandler_console::get_tty_stuff): Initialize
	backspace_keycode with CERASE.
	(fhandler_console::read): Return dev_state->backspace_keycode if the
	backspace key is pressed.
	(fhandler_console::char_command): Implement DECBKM escape sequence.
This commit is contained in:
Corinna Vinschen
2010-04-11 19:11:17 +00:00
parent e4f6022e52
commit 0250709234
3 changed files with 16 additions and 2 deletions

View File

@ -924,6 +924,7 @@ class dev_console
bool iso_2022_G1;
bool alternate_charset_active;
bool metabit;
char backspace_keycode;
char my_title_buf [TITLESIZE + 1];