summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-03-11 15:21:06 +0000
committerFrederic Culot <calcurse@culot.org>2007-03-11 15:21:06 +0000
commitf9e1143c0a535890dca25c7a07415cb041682428 (patch)
tree1aed5c6f0b7329e373629aca8e9ed298a08a2d42 /src/calcurse.c
parent8c862a68a873a5061696438f641d014ab7f4060d (diff)
downloadcalcurse-f9e1143c0a535890dca25c7a07415cb041682428.zip
'X' command added, to export data in iCal format
Diffstat (limited to 'src/calcurse.c')
-rwxr-xr-xsrc/calcurse.c7
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'):