From bdd31073bc8fcc16f38f1b3be4a883271f57f86e Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sat, 30 Sep 2006 09:18:21 +0000 Subject: CTRL-J and ENTER are equivalent so can't suppress one of those keybindings --- src/calcurse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calcurse.c b/src/calcurse.c index ca847de..cff12da 100755 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -1,4 +1,4 @@ -/* $calcurse: calcurse.c,v 1.21 2006/09/18 08:53:02 culot Exp $ */ +/* $calcurse: calcurse.c,v 1.22 2006/09/30 09:18:21 culot Exp $ */ /* * Calcurse - text-based organizer @@ -216,7 +216,7 @@ int main(int argc, char **argv) /* Get user input. */ ch = wgetch(swin); - if (ch != 10) switch (ch) { + switch (ch) { case 9: /* The TAB key was hit. */ reset_status_page(); -- cgit v1.2.3-70-g09d2