Enabling enacs and adding compatibility to xterm and urxvt for alternative

charsets.
This commit is contained in:
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;
term.esc |= ESC_STR;
break;
case ')':
case '(':
term.esc |= ESC_ALTCHARSET;
break;

View file

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