summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-09-16 15:40:53 +0000
committerFrederic Culot <calcurse@culot.org>2007-09-16 15:40:53 +0000
commitb69a59b34ee88a62fa71368c2df2061e410553e0 (patch)
treec8d6586c1a94d1972082343090d6477f7d3c3b8a
parent1f8ab27653012a69f183fcdb00ea88cc67e37da8 (diff)
downloadcalcurse-b69a59b34ee88a62fa71368c2df2061e410553e0.zip
keypad() used when creating popup windows
-rwxr-xr-xsrc/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index dd5aee3..0ad08f2 100755
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,4 +1,4 @@
-/* $calcurse: utils.c,v 1.35 2007/08/04 14:33:02 culot Exp $ */
+/* $calcurse: utils.c,v 1.36 2007/09/16 15:40:53 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -133,6 +133,7 @@ WINDOW * popup(int pop_row, int pop_col,
WINDOW *popup_win;
popup_win = newwin(pop_row, pop_col, pop_y, pop_x);
+ keypad(popup_win, TRUE);
custom_apply_attr(popup_win, ATTR_HIGHEST);
box(popup_win, 0, 0);
snprintf(label, BUFSIZ, "%s", pop_lab);