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
commit980c5956ed4eb0c1e748f1e5c550fabdaaf4ef14 (patch)
tree5df0874acb77b43c07d697b817f63525fbf38680
parenteb360e5fd151107ca8088a9c1aad33aa373c4fb0 (diff)
downloadst-980c5956ed4eb0c1e748f1e5c550fabdaaf4ef14.tar.gz
st-980c5956ed4eb0c1e748f1e5c550fabdaaf4ef14.tar.bz2
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) {
strescseq.type = ascii;
term.esc |= ESC_STR;
break;
+ case ')':
case '(':
term.esc |= ESC_ALTCHARSET;
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,
ed=\E[J,
el=\E[K,
el1=\E[1K,
+ enacs=\E)0,
flash=\E[?5h\E[?5l,
fsl=^G,
home=\E[H,