Enabling enacs and adding compatibility to xterm and urxvt for alternative

charsets.
master
Christoph Lohmann 2012-09-25 21:17:43 +02:00
parent eb360e5fd1
commit 980c5956ed
2 changed files with 2 additions and 0 deletions

1
st.c
View File

@ -1700,6 +1700,7 @@ tputc(char *c, int len) {
strescseq.type = ascii; strescseq.type = ascii;
term.esc |= ESC_STR; term.esc |= ESC_STR;
break; break;
case ')':
case '(': case '(':
term.esc |= ESC_ALTCHARSET; term.esc |= ESC_ALTCHARSET;
break; break;

View File

@ -33,6 +33,7 @@ st| simpleterm,
ed=\E[J, ed=\E[J,
el=\E[K, el=\E[K,
el1=\E[1K, el1=\E[1K,
enacs=\E)0,
flash=\E[?5h\E[?5l, flash=\E[?5h\E[?5l,
fsl=^G, fsl=^G,
home=\E[H, home=\E[H,