summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-06-26 21:44:11 +0000
committerFrederic Culot <calcurse@culot.org>2009-06-26 21:44:11 +0000
commitea107cfd8182f9c16f6554dcade75441984e985c (patch)
tree53b3ddcc57ad52d18a40c853c239df740c9beadf /src/calcurse.c
parent1775eb3245023e2320f2c0f1ddac012ae79ad247 (diff)
downloadcalcurse-ea107cfd8182f9c16f6554dcade75441984e985c.zip
Ability to flag todo items as completed.
Diffstat (limited to 'src/calcurse.c')
-rwxr-xr-xsrc/calcurse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 30beffb..4bc9f75 100755
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -1,4 +1,4 @@
-/* $calcurse: calcurse.c,v 1.79 2009/06/21 18:16:22 culot Exp $ */
+/* $calcurse: calcurse.c,v 1.80 2009/06/26 21:44:12 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -360,6 +360,8 @@ main (int argc, char **argv)
case KEY_FLAG_ITEM:
if (wins_slctd () == APP && apoint_hilt () != 0)
apoint_switch_notify ();
+ else if (wins_slctd () == TOD && todo_hilt () != 0)
+ todo_flag ();
do_storage = true;
break;