💾 Archived View for yasendfile.org › projects › patch-csikeys-bugfix captured on 2023-05-24 at 17:45:37.

View Raw

More Information

⬅️ Previous capture (2022-07-16)

-=-=-=-=-=-=-

From 046fdbc7cef86b6bdfd9171c0832b0e831954bd7 Mon Sep 17 00:00:00 2001
From: Wim Stockman <wim.stockman@gmail.com>
Date: Sat, 9 May 2020 12:09:17 +0200
Subject: [PATCH] fixed csi keys

---
 iomenu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iomenu.c b/iomenu.c
index b3e4d2b..134a261 100644
--- a/iomenu.c
+++ b/iomenu.c
@@ -253,9 +253,9 @@ int
 key(void)
 {
 	int k;
-
+	k = getkey();
 top:
-	switch ((k = getkey())) {
+	switch (k) {
 	case CTL('C'):
 		return -1;
 	case CTL('U'):
-- 
2.25.1