diff options
author | Boris Faure <billiob@gmail.com> | 2016-12-15 22:58:14 +0100 |
---|---|---|
committer | Boris Faure <billiob@gmail.com> | 2016-12-15 23:11:22 +0100 |
commit | 82d9ead6f2d705683a89637e354722fde50de661 (patch) | |
tree | 4fdbdba7dc89e6c9c62ead6ce24e5ce175b1600f | |
parent | termio: do nothing special when extracting text and .tab is set (diff) | |
download | terminology-82d9ead6f2d705683a89637e354722fde50de661.tar.gz |
termptyesc: handle correctly Character Tabulation Set (HTS). Ref https://phab.enlightenment.org/T4992
-rw-r--r-- | src/bin/termptyesc.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |