iomenu

interactive text selection menu
Log | Files | Refs | README | LICENSE

commit cca472541716f796ab5f427f961e36acdc9ebaf8
parent 1a93ead7868deeeb790f1382615f5bd20d5033fc
Author: Josuah Demangeonā  ā µ <mail@josuah.net>
Date:   Wed,  5 Apr 2017 13:20:48 +0200

reverting (CTRL(J) behavior != CTRL(M) behavior)

Diffstat:
Miomenu.c | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/iomenu.c b/iomenu.c @@ -412,12 +412,8 @@ input_key(void) print_selection(); break; - case CONTROL('J'): - fputws(input, stdout); - putwchar('\n'); - return EXIT_SUCCESS; - - case CONTROL('M'): /* enter */ + case CONTROL('J'): /* enter */ + case CONTROL('M'): print_selection(); return EXIT_SUCCESS;