From 6592a9b9094b366b661769836facfd6b0d8187c2 Mon Sep 17 00:00:00 2001 From: barbieri Date: Tue, 19 Jun 2012 18:57:56 +0000 Subject: [PATCH] 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. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@72500 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/termpty.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/bin/termpty.c b/src/bin/termpty.c index a1aab7d..3154e9d 100644 --- a/src/bin/termpty.c +++ b/src/bin/termpty.c @@ -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; -- 2.7.4