TS-34: Tasksh throw a warning at the end of a review command

- Thanks to bjonnh.
This commit is contained in:
Paul Beckingham 2017-01-07 09:46:58 -05:00
parent b3e4867a8d
commit 0f9a8e3877
3 changed files with 5 additions and 1 deletions

View file

@ -22,3 +22,5 @@ suggestions:
Lars Kumbier
Iain R. Learmonth
Eric Hymowitz
bjonnh

View file

@ -4,6 +4,8 @@
(thanks to ilove zfs).
- TS-32 control-d to exit
(thanks to Eric Hymowitz).
- TS-34 Tasksh throw a warning at the end of a review command
(thanks to bjonnh).
------ current release ---------------------------

View file

@ -241,7 +241,7 @@ static void reviewLoop (const std::vector <std::string>& uuids, unsigned int lim
response = getResponse (menu ());
if (response == "e") { editTask (uuid); }
if (response == "m") { modifyTask (uuid); repeat = true; }
else if (response == "m") { modifyTask (uuid); repeat = true; }
else if (response == "s") { std::cout << "Skipped\n\n"; ++current; }
else if (response == "c") { completeTask (uuid); ++current; ++reviewed; }
else if (response == "d") { deleteTask (uuid); ++current; ++reviewed; }