diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-10-08 11:33:36 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-10-08 11:33:36 +0200 |
commit | 88429cdcbf937c4042cc315b31fcb8c662bd51fb (patch) | |
tree | 0acf96f0e6c061a562dbc76e48acbf65e13e0f94 | |
parent | 0c8feecbf74674132070169986802c75dd49d688 (diff) | |
download | st-88429cdcbf937c4042cc315b31fcb8c662bd51fb.tar.gz st-88429cdcbf937c4042cc315b31fcb8c662bd51fb.tar.bz2 |
Add LS2 and LS3
These sequences are the equivalents of LS0 and LS1, but for G2 and
G3.
-rw-r--r-- | st.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2497,6 +2497,10 @@ eschandle(uchar ascii) { case 'k': /* old title set compatibility */ tstrsequence(ascii); return 0; + case 'n': /* LS2 -- Locking shift 2 */ + case 'o': /* LS3 -- Locking shift 3 */ + term.charset = 2 + (ascii - 'n'); + break; case '(': /* GZD4 -- set primary charset G0 */ case ')': /* G1D4 -- set secondary charset G1 */ case '*': /* G2D4 -- set tertiary charset G2 */ |