billiob pushed a commit to branch master.
commit c41fb7f0b1bfb348aae00bdf5d2d2c8818b035c6
Author: Boris Faure <[email protected]>
Date: Wed Apr 17 23:19:51 2013 +0200
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 8b997b0..7f425bd 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);
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev