]> git.armaanb.net Git - st.git/commitdiff
Enabling enacs and adding compatibility to xterm and urxvt for alternative
authorChristoph Lohmann <20h@r-36.net>
Tue, 25 Sep 2012 19:17:43 +0000 (21:17 +0200)
committerChristoph Lohmann <20h@r-36.net>
Tue, 25 Sep 2012 19:17:43 +0000 (21:17 +0200)
charsets.

st.c
st.info

diff --git a/st.c b/st.c
index a0bd69fd042bae8a7df68d8cecca8fdb69b66cc4..efe309fb9b5d5e67deda1f2b3d122a43cf5267bb 100644 (file)
--- 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 38012d8b9ddeca517591a8ec7e46e7c8f0c94160..58e2139026317ddfa8f002ec5b89e8f1fa0ef93d 100644 (file)
--- 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,