Fix LNM sequence
LNM sequence is a standard ANSI mode, not a DEC private mode. --- st.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
This commit is contained in:
parent
2f215654a4
commit
c3b6345595
6
st.c
6
st.c
|
@ -1292,9 +1292,6 @@ tsetmode(bool priv, bool set, int *args, int narg) {
|
||||||
case 7:
|
case 7:
|
||||||
MODBIT(term.mode, set, MODE_WRAP);
|
MODBIT(term.mode, set, MODE_WRAP);
|
||||||
break;
|
break;
|
||||||
case 20:
|
|
||||||
MODBIT(term.mode, set, MODE_CRLF);
|
|
||||||
break;
|
|
||||||
case 12: /* att610 -- Start blinking cursor (IGNORED) */
|
case 12: /* att610 -- Start blinking cursor (IGNORED) */
|
||||||
break;
|
break;
|
||||||
case 25:
|
case 25:
|
||||||
|
@ -1335,6 +1332,9 @@ tsetmode(bool priv, bool set, int *args, int narg) {
|
||||||
case 4:
|
case 4:
|
||||||
MODBIT(term.mode, set, MODE_INSERT);
|
MODBIT(term.mode, set, MODE_INSERT);
|
||||||
break;
|
break;
|
||||||
|
case 20:
|
||||||
|
MODBIT(term.mode, set, MODE_CRLF);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"erresc: unknown set/reset mode %d\n",
|
"erresc: unknown set/reset mode %d\n",
|
||||||
|
|
Loading…
Reference in a new issue