mirror of
https://github.com/GothenburgBitFactory/taskshell.git
synced 2025-06-26 10:54:29 +02:00
TS-24: add review option (m)odify
- Thanks to David Patrick.
This commit is contained in:
parent
70d9870611
commit
205a3984d2
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
1.1.0 () -
|
1.1.0 () -
|
||||||
|
|
||||||
|
- TS-24 add review option (m)odify (thanks to David Patrick).
|
||||||
- Implemented 'review' command.
|
- Implemented 'review' command.
|
||||||
- Implemented 'diag' command.
|
- Implemented 'diag' command.
|
||||||
- Added 'review N' option, to specify the number of tasks you would like to
|
- Added 'review N' option, to specify the number of tasks you would like to
|
||||||
|
|
|
@ -204,7 +204,7 @@ static void reviewLoop (const std::vector <std::string>& uuids, int limit)
|
||||||
// Display prompt, get input.
|
// Display prompt, get input.
|
||||||
auto response = getResponse (menu ());
|
auto response = getResponse (menu ());
|
||||||
|
|
||||||
if (response == "e") { editTask (uuid); ++current; ++reviewed; }
|
if (response == "e") { editTask (uuid); }
|
||||||
else if (response == "s") { std::cout << "Skipped\n\n"; ++current; }
|
else if (response == "s") { std::cout << "Skipped\n\n"; ++current; }
|
||||||
else if (response == "c") { completeTask (uuid); ++current; ++reviewed; }
|
else if (response == "c") { completeTask (uuid); ++current; ++reviewed; }
|
||||||
else if (response == "d") { deleteTask (uuid); ++current; ++reviewed; }
|
else if (response == "d") { deleteTask (uuid); ++current; ++reviewed; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue