ignore libreadline6's \033[?1034s

seems libreadline6 will issue such escape to toggle 8-bit input, but
it shouldnt:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577012

Thanks to KainX for helping.



SVN revision: 72500
This commit is contained in:
Gustavo Sverzut Barbieri 2012-06-19 18:57:56 +00:00
parent 2cd2514538
commit ba1b55fc85
1 changed files with 8 additions and 0 deletions

View File

@ -905,6 +905,14 @@ _handle_esc_csi(Termpty *ty, const int *c, int *ce)
else
_cursor_copy(&(ty->save), &(ty->state));
break;
case 1034:
/* libreadline6 emits it but it shouldn't.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577012
*/
handled = 1;
DBG("Ignored screen mode %i", arg);
break;
default:
ERR("unhandled screen mode arg %i\n", arg);
break;