aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-09-25 21:17:43 +0200
committerChristoph Lohmann <20h@r-36.net>2012-09-25 21:17:43 +0200
commitefe3937183a4ed6a4e02c91de9c8a03beed16eca (patch)
tree5df0874acb77b43c07d697b817f63525fbf38680
parent2ca5d9463dd5d8e6745b9b2996e3bd734b601ce2 (diff)
downloadst-patched-efe3937183a4ed6a4e02c91de9c8a03beed16eca.tar.bz2
st-patched-efe3937183a4ed6a4e02c91de9c8a03beed16eca.tar.xz
st-patched-efe3937183a4ed6a4e02c91de9c8a03beed16eca.zip
Enabling enacs and adding compatibility to xterm and urxvt for alternative
charsets.
-rw-r--r--st.c1
-rw-r--r--st.info1
2 files changed, 2 insertions, 0 deletions
diff --git a/st.c b/st.c
index a0bd69f..efe309f 100644
--- a/st.c
+++ b/st.c
@@ -1700,6 +1700,7 @@ tputc(char *c, int len) {
1700 strescseq.type = ascii; 1700 strescseq.type = ascii;
1701 term.esc |= ESC_STR; 1701 term.esc |= ESC_STR;
1702 break; 1702 break;
1703 case ')':
1703 case '(': 1704 case '(':
1704 term.esc |= ESC_ALTCHARSET; 1705 term.esc |= ESC_ALTCHARSET;
1705 break; 1706 break;
diff --git a/st.info b/st.info
index 38012d8..58e2139 100644
--- a/st.info
+++ b/st.info
@@ -33,6 +33,7 @@ st| simpleterm,
33 ed=\E[J, 33 ed=\E[J,
34 el=\E[K, 34 el=\E[K,
35 el1=\E[1K, 35 el1=\E[1K,
36 enacs=\E)0,
36 flash=\E[?5h\E[?5l, 37 flash=\E[?5h\E[?5l,
37 fsl=^G, 38 fsl=^G,
38 home=\E[H, 39 home=\E[H,