summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Aptel2010-09-03 00:15:43 +0200
committerAurélien Aptel2010-09-03 00:15:43 +0200
commit273d4ba938dc6bf7edb2b1154ea36c19bfcd22d1 (patch)
tree9167e0de29b58953bc8ecdce427805fa9c272317
parentc43526153fbe368351f6139f5e672e1798f6d2f1 (diff)
downloadst-273d4ba938dc6bf7edb2b1154ea36c19bfcd22d1.tar.gz
st-273d4ba938dc6bf7edb2b1154ea36c19bfcd22d1.tar.xz
st-273d4ba938dc6bf7edb2b1154ea36c19bfcd22d1.zip
cleaning st.info. added comment in st.c for DECSCNM.
-rw-r--r--st.c5
-rw-r--r--st.info8
2 files changed, 11 insertions, 2 deletions
diff --git a/st.c b/st.c
index ab43a43..261612f 100644
--- a/st.c
+++ b/st.c
@@ -796,6 +796,8 @@ csihandle(void) {
case 1:
term.mode &= ~MODE_APPKEYPAD;
break;
+ case 5: /* TODO: DECSCNM -- Remove reverse video */
+ break;
case 7:
term.mode &= ~MODE_WRAP;
break;
@@ -851,6 +853,9 @@ csihandle(void) {
case 1:
term.mode |= MODE_APPKEYPAD;
break;
+ case 5: /* DECSCNM -- Reverve video */
+ /* TODO: set REVERSE on the whole screen (f) */
+ break;
case 7:
term.mode |= MODE_WRAP;
break;
diff --git a/st.info b/st.info
index 3778f74..0145411 100644
--- a/st.info
+++ b/st.info
@@ -5,10 +5,10 @@ st| simpleterm,
am,
# bce,
bel=^G,
-# blink=\E[5m
+# blink=\E[5m,
bold=\E[1m,
cbt=\E[Z,
- civis=\E[?25l
+ civis=\E[?25l,
clear=\E[H\E[2J,
cnorm=\E[?12l\E[?25h,
colors#8,
@@ -28,10 +28,14 @@ st| simpleterm,
ed=\E[J,
el=\E[K,
home=\E[H,
+ hpa=\E[%i%p1%dG,
ht=^I,
hts=\EH,
+ ich=\E[%p1%d@,
il1=\E[L,
+ il=\E[%p1%dL,
ind=^J,
+ indn=\E[%p1%dS,
invis=\E[8m,
it#8,
kbs=\177,