[hackers] [st] Add 8 bit version of HTS || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 10 Jul 2014 10:13:14 +0200

commit da78629cf5fa234204f002ff2c2b597a2bf7e76f
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Fri Jun 20 09:51:18 2014 +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.

diff --git a/st.c b/st.c
index 1162700..6ec4858 100644
--- a/st.c
+++ b/st.c
_AT_@ -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 */
Received on Thu Jul 10 2014 - 10:13:14 CEST

This archive was generated by hypermail 2.3.0 : Thu Jul 10 2014 - 10:24:09 CEST