diff options
author | Frederic Culot <calcurse@culot.org> | 2008-09-20 12:47:06 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2008-09-20 12:47:06 +0000 |
commit | 96b858b8bcb8ddb9a7938c08d2e9577545e85bfd (patch) | |
tree | 116c0e30a2cba24eccf29727b21547978d754b47 /src/vars.c | |
parent | 62077a18f5ca760dc7798470ca4c457f905c7cd5 (diff) | |
download | calcurse-96b858b8bcb8ddb9a7938c08d2e9577545e85bfd.zip |
More work on ical import. Macros to handle errors and to display messages in both command-line and curses mode added
Diffstat (limited to 'src/vars.c')
-rwxr-xr-x | src/vars.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: vars.c,v 1.8 2008/04/12 21:14:03 culot Exp $ */ +/* $calcurse: vars.c,v 1.9 2008/09/20 12:47:06 culot Exp $ */ /* * Calcurse - text-based organizer @@ -42,6 +42,13 @@ int col = 0, row = 0; bool colorize = false; /* + * To tell if curses interface was launched already or not (in that case + * calcurse is running in command-line mode). + * This is useful to konw how to display messages on the screen. + */ +ui_mode_e ui_mode = UI_CMDLINE; + +/* * variables to store calendar names */ int days[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; |