From: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 8 Nov 2012 16:21:41 +0000 (+0100)
Subject: Ignore DECARM sequence
X-Git-Url: https://git.owens.tech/assets/dummy.html/assets/dummy.html/git?a=commitdiff_plain;h=27468403cc436cf8197c886158e6e61f24ae5b8d;p=st.git

Ignore DECARM sequence

DECARM modify the auto repeat settings in the keyboard, and since we can not
modify this setting in the Xserver the best solution is only ignore it.
---
 st.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---

diff --git a/st.c b/st.c
index f67a345..5e7e4ac 100644
--- a/st.c
+++ b/st.c
@@ -1480,8 +1480,7 @@ tsetmode(bool priv, bool set, int *args, int narg) {
 			case 7: /* DECAWM -- Auto wrap */
 				MODBIT(term.mode, set, MODE_WRAP);
 				break;
-			case 8: /* XXX: DECARM -- Auto repeat */
-				break;
+			case 8:  /* DECARM -- Auto repeat (IGNORED) */
 			case 0:  /* Error (IGNORED) */
 			case 12: /* att610 -- Start blinking cursor (IGNORED) */
 				break;