billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=7c720058a1749e8858d0eb75bb42ec7ca5c38c89

commit 7c720058a1749e8858d0eb75bb42ec7ca5c38c89
Author: Boris Faure <bill...@gmail.com>
Date:   Thu Dec 15 22:59:50 2016 +0100

    termptyesc: add some debug
---
 src/bin/termptyesc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 1188d8d..164250b 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1660,16 +1660,19 @@ _handle_esc(Termpty *ty, const Eina_Unicode *c, 
Eina_Unicode *ce)
         ty->termstate.alt_kp = 0;
         return 1;
       case 'M': // move to prev line
+        DBG("move to prev line");
         ty->termstate.wrapnext = 0;
         ty->cursor_state.cy--;
         termpty_text_scroll_rev_test(ty, EINA_TRUE);
         return 1;
       case 'D': // move to next line
+        DBG("move to next line");
         ty->termstate.wrapnext = 0;
         ty->cursor_state.cy++;
         termpty_text_scroll_test(ty, EINA_FALSE);
         return 1;
       case 'E': // add \n\r
+        DBG("add \\n\\r");
         ty->termstate.wrapnext = 0;
         ty->cursor_state.cx = 0;
         ty->cursor_state.cy++;

-- 


Reply via email to