ayoisaiah / focus

A fully featured productivity timer for the command line, based on the Pomodoro Technique. Supports Linux, Windows, and macOS.
https://github.com/ayoisaiah/focus
MIT License
437 stars 21 forks source link

Pausing sessions #22

Open Blackbeing opened 10 months ago

Blackbeing commented 10 months ago

After updating to focus version 1.4.0, pausing a session with ctrl-c sometimes marks that session as completed.

ayoisaiah commented 10 months ago

@Blackbeing Thanks, I noticed that bug too — happens rarely but not ideal. Working on a fix

ayoisaiah commented 10 months ago

Closed by https://github.com/ayoisaiah/focus/commit/c8ee01fc5a7c549eaeeec90153d416b239789256

Please try v1.4.1

Blackbeing commented 8 months ago

This still occurs in v1.4.2

ayoisaiah commented 8 months ago

@Blackbeing I haven't experienced it since I implemented that fix.

How can I reproduce it?

jonnieey commented 7 months ago

That's the latest log file after completing session when paused. Using latest version git clone https://github.com/ayoisaiah/focus && cd focus && go install ./...

ayoisaiah commented 7 months ago

@jonnieey Could you please re-upload the log file?

jonnieey commented 7 months ago

focus_crash_log.txt

ayoisaiah commented 7 months ago

@jonnieey I suggest deleting all your existing timers with focus delete-timer --all, and let me know if it happens again