openpomodoro-cli
openpomodoro-cli copied to clipboard
Question - Why does running `pomodoro break` not pause the currently running pomodoro?
Is there a reason for this design?
It could! We could change it to do a finish
then break
?
There's no support for pausing at the moment as I haven't figured out how to best model it.
I'm okay with doing a finish
then break
.
Maybe pausing isn't really part of an effective pomodoro. "Once it starts, it has to ring".
Also, when the break timer is running, then pomodoro status
should show the break timer.
Maybe adding a formatting part like %b
for break is also good idea.
:+1: for this functionality including the break timer
Right now, the finish command amends the Pomodoro's duration with the elapsed time, so if you have a 25-minute Pomodoro for instance, running finish
at 20 minutes changes the Pomodoro to 20, and running at 30 changes it to 30.
If you run break
at 20, I think it should amend to 20, but if you run it at 30 should it also? My assumption is yes but would like some input.
@mrpandey we don't currently store the break information anywhere, but that's a good idea
PR lgtm. However, I think it'd be helpful to know whether its running a break timer or a pomo timer. @justincampbell