Move unsupported sequences to ignored.
These sequences will be never implemented and in this moment they are generating a lot of noise. --- st.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
This commit is contained in:
parent
27468403cc
commit
8665905216
1 changed files with 7 additions and 7 deletions
14
st.c
14
st.c
|
@ -1480,8 +1480,14 @@ tsetmode(bool priv, bool set, int *args, int narg) {
|
||||||
case 7: /* DECAWM -- Auto wrap */
|
case 7: /* DECAWM -- Auto wrap */
|
||||||
MODBIT(term.mode, set, MODE_WRAP);
|
MODBIT(term.mode, set, MODE_WRAP);
|
||||||
break;
|
break;
|
||||||
case 8: /* DECARM -- Auto repeat (IGNORED) */
|
|
||||||
case 0: /* Error (IGNORED) */
|
case 0: /* Error (IGNORED) */
|
||||||
|
case 2: /* DECANM -- ANSI/VT52 (IGNORED) */
|
||||||
|
case 3: /* DECCOLM -- Column (IGNORED) */
|
||||||
|
case 4: /* DECSCLM -- Scroll (IGNORED) */
|
||||||
|
case 8: /* DECARM -- Auto repeat (IGNORED) */
|
||||||
|
case 18: /* DECPFF -- Printer feed (IGNORED) */
|
||||||
|
case 19: /* DECPEX -- Printer extent (IGNORED) */
|
||||||
|
case 42: /* DECNRCM -- National characters (IGNORED) */
|
||||||
case 12: /* att610 -- Start blinking cursor (IGNORED) */
|
case 12: /* att610 -- Start blinking cursor (IGNORED) */
|
||||||
break;
|
break;
|
||||||
case 25: /* DECTCEM -- Text Cursor Enable Mode */
|
case 25: /* DECTCEM -- Text Cursor Enable Mode */
|
||||||
|
@ -1509,12 +1515,6 @@ tsetmode(bool priv, bool set, int *args, int narg) {
|
||||||
tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
|
tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* case 2: DECANM -- ANSI/VT52 (NOT SUPPOURTED) */
|
|
||||||
/* case 3: DECCOLM -- Column (NOT SUPPORTED) */
|
|
||||||
/* case 4: DECSCLM -- Scroll (NOT SUPPORTED) */
|
|
||||||
/* case 18: DECPFF -- Printer feed (NOT SUPPORTED) */
|
|
||||||
/* case 19: DECPEX -- Printer extent (NOT SUPPORTED) */
|
|
||||||
/* case 42: DECNRCM -- National characters (NOT SUPPORTED) */
|
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"erresc: unknown private set/reset mode %d\n",
|
"erresc: unknown private set/reset mode %d\n",
|
||||||
*args);
|
*args);
|
||||||
|
|
Loading…
Reference in a new issue