Commit Graph

9 Commits

Author SHA1 Message Date
Sam Boysel 8113c0a933 display current task message while running or paused 2022-05-31 23:00:34 -07:00
Sam Boysel 81cb8f568f execute onEvent command in Go routine 2022-05-31 18:06:43 -07:00
Sam Boysel 3ba07e9a87 check if onEvent is set, parse argument array 2022-05-31 13:35:15 -07:00
Sam Boysel 3d3a2bc152 execute command on state change 2022-05-30 23:21:29 -07:00
Kevin Schoon 1b321198fb fix issue where interface can block
Fixed an issue where the UI can block when certain key combinations are
pressed in different states. An alternative and more robust approach would
likely be to re-write the runner code as a finite state machine, however
these quick fixes work okay.

Additionally cleaned up some spacing in console messages and added a CREATED
state which is the default state of a pomodoro.
2022-05-30 14:59:03 -05:00
WN c1416ef9dc Fix for issue 44, runs always starting at 0 pomodoros 2022-01-05 17:36:12 +01:00
Kevin Schoon a7947a7cb7 apply some formatting fixes 2021-09-01 08:56:22 -04:00
paperbenni 569a156fd0 show duration of pause between intervals 2021-08-31 00:31:35 +02:00
Kevin Schoon 34eab4e98b restructure project into modules 2020-09-08 11:35:47 -05:00