fixed csi keys - iomenu - interactive terminal-based selection menu
HTML git clone git://bitreich.org/iomenu git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/iomenu
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit f4ee636cedac29de2e5f6ff200f01db97379642c
DIR parent 0e5ef4f8841cb9f0246d48efe84477ac72382b16
HTML Author: Wim Stockman <wim.stockman@gmail.com>
Date: Sat, 9 May 2020 12:09:17 +0200
fixed csi keys
Diffstat:
M LICENSE | 3 ++-
M iomenu.c | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
---
DIR diff --git a/LICENSE b/LICENSE
@@ -1,4 +1,5 @@
-Copyright (c) 2017 Josuah Demangeon <mail@josuah.net>
+Copyright (c) 2020 Josuah Demangeon <mail@josuah.net>
+Copyright (c) 2020 Wim Stockman <wim.stockman@gmail.com>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
DIR diff --git 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'):