[dev] [st][dev 3/4] Add 8 bit version of HTS

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Wed, 25 Jun 2014 20:00:32 +0200

HTS version for 7 bits environments already was implemented in st.
This patch adds the 8 bit version of it.
---
 st.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/st.c b/st.c
index 85e1e0f..e4fab61 100644
--- a/st.c
+++ b/st.c
_AT_@ -2415,7 +2415,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 */
-- 
1.8.5.3
Received on Wed Jun 25 2014 - 20:00:32 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 25 2014 - 20:12:19 CEST