pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5356d0
)
Add 8 bit version of HTS
author
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Fri, 20 Jun 2014 07:51:18 +0000
(09:51 +0200)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Tue, 8 Jul 2014 21:32:28 +0000
(23:32 +0200)
HTS version for 7 bits environments already was implemented in st.
This patch adds the 8 bit version of it.
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
1162700
..
6ec4858
100644
(file)
--- 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 */