tAdd 8 bit version of HTS - st - [fork] customized build of st, the simple term… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit da78629cf5fa234204f002ff2c2b597a2bf7e76f | |
parent f5356d018505963a72d1a5bb505c69b2cf32792b | |
Author: Roberto E. Vargas Caballero <[email protected]> | |
Date: Fri, 20 Jun 2014 09:51:18 +0200 | |
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. | |
Diffstat: | |
M st.c | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -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 */ |