actuallly syslexia - 7f not f7!!!!

SVN revision: 72936
This commit is contained in:
Carsten Haitzler 2012-06-27 10:09:50 +00:00
parent d393562526
commit a7dce6cb45
1 changed files with 7 additions and 1 deletions

View File

@ -1762,6 +1762,12 @@ _handle_seq(Termpty *ty, const int *c, int *ce)
return 1;
}
}
else if (c[0] == 0x7f) // DEL
{
ERR("unhandled char 0x%02x [DEL]", c[0]);
ty->state.had_cr = 0;
return 1;
}
else if (c[0] == 0x9b) // ANSI ESC!!!
{
int v;
@ -1775,7 +1781,7 @@ _handle_seq(Termpty *ty, const int *c, int *ce)
cc = (int *)c;
DBG("txt: [");
while ((cc < ce) && (*cc >= 0x20))
while ((cc < ce) && (*cc >= 0x20) && (*cc != 0x7f))
{
DBG("%c", *cc);
cc++;