Pominal is a Pomodoro application for the terminal written in Go.
Find a file
Dan Anglin f0b46ed8b7
refactor: code refactoring to improve stability.
This commit removes the need to calculate the time remaining in a
session and instead introduces a countdown counter which decrements at
each one second 'tick'. This stabilizes the interface where it appeared
that he timer was randomly pausing or skipping time.

A summary of changes made in this commit includes:

- Updated the command line flags so that they are easier to remember.
- The work, short break and long break session times are now parsed and
converted to type float64. These times represent the total amount of
seconds.
- Removal of timer and finish from Pominal.
- The method that calculates the time remaining is removed.
- A countdown counter is added to the Pominal type.
- Updated alert message for the desktop notification.
- Simplified the Run method by moving the logic to chosse the next session
in a separate method.
2019-09-18 09:08:12 +01:00
assets/icon feat: added desktop notification integration 2019-08-16 09:20:56 +01:00
.gitignore feat: added desktop notification integration 2019-08-16 09:20:56 +01:00
.gitlab-ci.yml chore: bump go to v1.12.9 2019-09-15 22:52:45 +01:00
.goreleaser.yml chore: add assets to archive on release 2019-08-16 20:25:32 +01:00
alert.go refactor: code refactoring to improve stability. 2019-09-18 09:08:12 +01:00
CODEOWNERS feat: added Pominal 2019-05-30 22:19:53 +00:00
go.mod feat: added desktop notification integration 2019-08-16 09:20:56 +01:00
go.sum feat: added desktop notification integration 2019-08-16 09:20:56 +01:00
LICENSE Add LICENSE 2019-02-11 00:08:24 +00:00
main.go refactor: code refactoring to improve stability. 2019-09-18 09:08:12 +01:00
Makefile refactor: code refactoring to improve stability. 2019-09-18 09:08:12 +01:00
pominal.go refactor: code refactoring to improve stability. 2019-09-18 09:08:12 +01:00
README.md feat: added desktop notification integration 2019-08-16 09:20:56 +01:00
version.go feat: show versions 2019-08-14 20:07:27 +01:00

Pominal

Pominal is a Pomodoro application for the terminal. Pominal is written in Go.

Assets

Icon image from OpenClipart-Vectors from Pixabay