diff options
author | Frederic Culot <calcurse@culot.org> | 2007-03-11 15:21:06 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-03-11 15:21:06 +0000 |
commit | f9e1143c0a535890dca25c7a07415cb041682428 (patch) | |
tree | 1aed5c6f0b7329e373629aca8e9ed298a08a2d42 /src | |
parent | 8c862a68a873a5061696438f641d014ab7f4060d (diff) | |
download | calcurse-f9e1143c0a535890dca25c7a07415cb041682428.tar.gz calcurse-f9e1143c0a535890dca25c7a07415cb041682428.zip |
'X' command added, to export data in iCal format
Diffstat (limited to 'src')
-rwxr-xr-x | src/calcurse.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index 40b1241..dd3c3a3 100755 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -1,4 +1,4 @@ -/* $calcurse: calcurse.c,v 1.38 2007/03/10 15:54:24 culot Exp $ */ +/* $calcurse: calcurse.c,v 1.39 2007/03/11 15:21:06 culot Exp $ */ /* * Calcurse - text-based organizer @@ -409,6 +409,11 @@ int main(int argc, char **argv) week_begins_on_monday, layout); break; + case 'X': + case 'x': /* Export function */ + io_export_data(IO_EXPORT_INTERACTIVE); + break; + case (261): /* right arrow */ case ('L'): case ('l'): |