From 13a11e5a9245ee23dc71a89ff048f9174ca08db5 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Wed, 17 Apr 2013 23:19:51 +0200 Subject: [PATCH] compat: add some csi dec private modes TODOs --- src/bin/termptyesc.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c index aed0dfac..d9fefaf2 100644 --- a/src/bin/termptyesc.c +++ b/src/bin/termptyesc.c @@ -550,11 +550,11 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce) break; case 3: // should we handle this? handled = 1; - ERR("XXX: 132 column mode %i", mode); + ERR("TODO: 132 column mode %i", mode); break; case 4: handled = 1; - ERR("XXX: set insert mode to %i", mode); + ERR("TODO: set insert mode to %i", mode); break; case 5: handled = 1; @@ -562,11 +562,13 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce) break; case 6: handled = 1; - ERR("XXX: origin mode: cursor is at 0,0/cursor limited to screen/start point for line #'s depends on top margin"); + ERR("TODO: origin mode: cursor is at 0,0" + "cursor limited to screen/start point" + " for line #'s depends on top margin"); break; case 7: handled = 1; - DBG("DDD: set wrap mode to %i", mode); + DBG("XXX: set wrap mode to %i", mode); ty->state.wrap = mode; break; case 8: @@ -616,6 +618,14 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce) handled = 1; // INF("XXX: switch to tek window %i", mode); break; + case 40: + handled = 1; + ERR("TODO: Allow 80 -> 132 Mode"); + break; + case 45: // ignore + handled = 1; + INF("TODO: Reverse-wraparound Mode"); + break; case 59: // ignore handled = 1; // INF("XXX: kanji terminal mode %i", mode);