Browse Source

cleaning st.info. added comment in st.c for DECSCNM.

master
Aurélien Aptel 14 years ago
parent
commit
273d4ba938
2 changed files with 11 additions and 2 deletions
  1. +5
    -0
      st.c
  2. +6
    -2
      st.info

+ 5
- 0
st.c View File

@ -796,6 +796,8 @@ csihandle(void) {
case 1: case 1:
term.mode &= ~MODE_APPKEYPAD; term.mode &= ~MODE_APPKEYPAD;
break; break;
case 5: /* TODO: DECSCNM -- Remove reverse video */
break;
case 7: case 7:
term.mode &= ~MODE_WRAP; term.mode &= ~MODE_WRAP;
break; break;
@ -851,6 +853,9 @@ csihandle(void) {
case 1: case 1:
term.mode |= MODE_APPKEYPAD; term.mode |= MODE_APPKEYPAD;
break; break;
case 5: /* DECSCNM -- Reverve video */
/* TODO: set REVERSE on the whole screen (f) */
break;
case 7: case 7:
term.mode |= MODE_WRAP; term.mode |= MODE_WRAP;
break; break;


+ 6
- 2
st.info View File

@ -5,10 +5,10 @@ st| simpleterm,
am, am,
# bce, # bce,
bel=^G, bel=^G,
# blink=\E[5m
# blink=\E[5m,
bold=\E[1m, bold=\E[1m,
cbt=\E[Z, cbt=\E[Z,
civis=\E[?25l
civis=\E[?25l,
clear=\E[H\E[2J, clear=\E[H\E[2J,
cnorm=\E[?12l\E[?25h, cnorm=\E[?12l\E[?25h,
colors#8, colors#8,
@ -28,10 +28,14 @@ st| simpleterm,
ed=\E[J, ed=\E[J,
el=\E[K, el=\E[K,
home=\E[H, home=\E[H,
hpa=\E[%i%p1%dG,
ht=^I, ht=^I,
hts=\EH, hts=\EH,
ich=\E[%p1%d@,
il1=\E[L, il1=\E[L,
il=\E[%p1%dL,
ind=^J, ind=^J,
indn=\E[%p1%dS,
invis=\E[8m, invis=\E[8m,
it#8, it#8,
kbs=\177, kbs=\177,


Loading…
Cancel
Save