aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2012-09-24 10:28:35 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2012-09-24 10:28:35 +0200
commit448a25dbc854a3f0e8098b06628ad2c1d8527a8c (patch)
tree60ecdfe9af4640ef516c370e6cc68e6a88b09e4f
parent4dfbf487bf5d3779b6ba12ef969d8308aea1e036 (diff)
downloadst-448a25dbc854a3f0e8098b06628ad2c1d8527a8c.tar.gz
st-448a25dbc854a3f0e8098b06628ad2c1d8527a8c.tar.bz2
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(-)
-rw-r--r--st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/st.c b/st.c
index 538ed9a..d432ee7 100644
--- a/st.c
+++ b/st.c
@@ -1292,9 +1292,6 @@ tsetmode(bool priv, bool set, int *args, int narg) {
case 7:
MODBIT(term.mode, set, MODE_WRAP);
break;
- case 20:
- MODBIT(term.mode, set, MODE_CRLF);
- break;
case 12: /* att610 -- Start blinking cursor (IGNORED) */
break;
case 25:
@@ -1335,6 +1332,9 @@ tsetmode(bool priv, bool set, int *args, int narg) {
case 4:
MODBIT(term.mode, set, MODE_INSERT);
break;
+ case 20:
+ MODBIT(term.mode, set, MODE_CRLF);
+ break;
default:
fprintf(stderr,
"erresc: unknown set/reset mode %d\n",