[hackers] [st] Fix LNM sequence || "Roberto E. Vargas Caballero"

From: <hg_AT_suckless.org>
Date: Mon, 24 Sep 2012 10:32:05 +0200 (CEST)

changeset: 327:610352dd0d9e
user: "Roberto E. Vargas Caballero" <k0ga_AT_shike2.com>
date: Mon Sep 24 10:28:35 2012 +0200
files: st.c
description:
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(-)
diff -r 6c99547e89c2 -r 610352dd0d9e st.c
--- a/st.c	Mon Sep 24 10:28:05 2012 +0200
+++ b/st.c	Mon Sep 24 10:28:35 2012 +0200
_AT_@ -1292,9 +1292,6 @@
 			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:
_AT_@ -1335,6 +1332,9 @@
 			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",
Received on Mon Sep 24 2012 - 10:32:05 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 24 2012 - 10:36:11 CEST