termptyesc: handle correctly Character Tabulation Set (HTS). Ref T4992

This commit is contained in:
Boris Faure 2016-12-15 22:58:14 +01:00
parent 5af5ec084e
commit 82d9ead6f2
1 changed files with 3 additions and 1 deletions

View File

@ -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