diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-06-20 09:51:18 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-07-08 23:28:10 +0200 |
commit | bcbaf5d9beb72f29d228d103634d648ca28fb48d (patch) | |
tree | 5617e0812315bb7da2efd217858ec0ef7c690724 | |
parent | f796533b1bab9aa8ea4e70b79d305c9aea47fe6a (diff) | |
download | st-bcbaf5d9beb72f29d228d103634d648ca28fb48d.tar.gz st-bcbaf5d9beb72f29d228d103634d648ca28fb48d.tar.bz2 st-bcbaf5d9beb72f29d228d103634d648ca28fb48d.zip |
Add 8 bit version of DECID
DECID version for 7 bits environments already was implemented in st.
This patch adds the 8 bit version of it.
-rw-r--r-- | st.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2408,7 +2408,10 @@ tcontrolcode(uchar ascii) { case 0x8f: /* TODO: SS3 */ case 0x90: /* TODO: DCS */ case 0x98: /* TODO: SOS */ - case 0x9a: /* TODO: DECID */ + break; + case 0x9a: /* DECID -- Identify Terminal */ + ttywrite(VT102ID, sizeof(VT102ID) - 1); + break; case 0x9b: /* TODO: CSI */ case 0x9c: /* TODO: ST */ case 0x9d: /* TODO: OSC */ |