iomenu

interactive terminal dmenu-style menu
Log | Files | Refs | README | LICENSE

commit f4ee636cedac29de2e5f6ff200f01db97379642c
parent 0e5ef4f8841cb9f0246d48efe84477ac72382b16
Author: Wim Stockman <wim.stockman@gmail.com>
Date:   Sat,  9 May 2020 12:09:17 +0200

fixed csi keys

Diffstat:
MLICENSE | 3++-
Miomenu.c | 4++--
2 files changed, 4 insertions(+), 3 deletions(-)

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 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'):