mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
Add LS2 and LS3
These sequences are the equivalents of LS0 and LS1, but for G2 and G3.
This commit is contained in:
parent
0c8feecbf7
commit
88429cdcbf
1 changed files with 4 additions and 0 deletions
4
st.c
4
st.c
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue