aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2014-06-20 09:51:18 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-07-08 23:32:28 +0200
commitda78629cf5fa234204f002ff2c2b597a2bf7e76f (patch)
tree495014d605d79a1f75661fe7727fb32aaec694a7
parentf5356d018505963a72d1a5bb505c69b2cf32792b (diff)
downloadst-da78629cf5fa234204f002ff2c2b597a2bf7e76f.tar.gz
st-da78629cf5fa234204f002ff2c2b597a2bf7e76f.tar.bz2
Add 8 bit version of HTS
HTS version for 7 bits environments already was implemented in st. This patch adds the 8 bit version of it.
-rw-r--r--st.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/st.c b/st.c
index 1162700..6ec4858 100644
--- a/st.c
+++ b/st.c
@@ -2405,7 +2405,9 @@ tcontrolcode(uchar ascii) {
case 0x85: /* NEL -- Next line */
tnewline(1); /* always go to first col */
break;
- case 0x88: /* TODO: HTS */
+ case 0x88: /* HTS -- Horizontal tab stop */
+ term.tabs[term.c.x] = 1;
+ break;
case 0x8d: /* TODO: RI */
case 0x8e: /* TODO: SS2 */
case 0x8f: /* TODO: SS3 */