billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=4bc3357a9165ebcf764684a86bd3ba501cb3ccf5

commit 4bc3357a9165ebcf764684a86bd3ba501cb3ccf5
Author: Boris Faure <bill...@gmail.com>
Date:   Sat Nov 16 19:26:10 2013 +0100

    improve debug output
---
 src/bin/termptyesc.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index fe6165a..a45f68a 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -511,7 +511,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, 
Eina_Unicode *ce)
       case 'L': // insert N lines - cy
         arg = _csi_arg_get(&b);
         if (arg < 1) arg = 1;
-        DBG("delete/insert %d lines", arg);
+        DBG("%s %d lines", (*cc == 'M') ? "delete" : "insert", arg);
           {
              int sy1, sy2;
 
@@ -703,7 +703,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, 
Eina_Unicode *ce)
                                  break;
                                case 12: // ignore
                                  handled = 1;
-//                                 DBG("XXX: set blinking cursor to (stop?) %i 
or local echo", mode);
+                                 DBG("set blinking cursor to (stop?) %i or 
local echo (ignored)", mode);
                                  break;
                                case 19: // never seen this - what to do?
                                  handled = 1;
@@ -716,6 +716,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, 
Eina_Unicode *ce)
                                case 25:
                                  handled = 1;
                                  ty->state.hidecursor = !mode;
+                                 DBG("hide cursor: %d", !mode);
                                  break;
                                case 30: // ignore
                                  handled = 1;

-- 


Reply via email to