billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=82d9ead6f2d705683a89637e354722fde50de661

commit 82d9ead6f2d705683a89637e354722fde50de661
Author: Boris Faure <bill...@gmail.com>
Date:   Thu Dec 15 22:58:14 2016 +0100

    termptyesc: handle correctly Character Tabulation Set (HTS). Ref T4992
---
 src/bin/termptyesc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 164250b..0149b0a 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1747,7 +1747,9 @@ _handle_esc(Termpty *ty, const Eina_Unicode *c, 
Eina_Unicode *ce)
         termpty_cursor_copy(ty, EINA_FALSE);
         return 1;
       case 'H': // set tab at current column
-        DBG("Character Tabulation Set (HTS)");
+        DBG("Character Tabulation Set (HTS) at x:%d y:%d",
+            ty->cursor_state.cx, ty->cursor_state.cy);
+        TERMPTY_SCREEN(ty, ty->cursor_state.cx, ty->cursor_state.cy).att.tab = 
1;
         return 1;
 /*
       case 'G': // query gfx mode

-- 


Reply via email to