Repository navigation
Releases
Releases · franpfeiffer/t2
0.2.0
T2
New features
- Stopwatch: Added a stopwatch at the end of the session.
- Better UI: Uses
Lipglossfor colored and formatted text output. - Keyboard Controls: Simple key bindings for actions.
Key Bindings
| Key | Action |
|---|---|
s |
Start the timer |
x |
Stop the timer |
y |
Confirm saving the time |
n |
Cancel and exit |
q |
Quit the application |
How It Works
- Starting the Timer: Press
sto start the timer. The timer begins tracking time in the background. - Stopping the Timer: Press
xto stop the timer. The elapsed time will be displayed along with a prompt to save. - Saving the Time: After stopping the timer, press
yto save the elapsed time to a file calledtracked-time.txt. - Canceling: Press
nto cancel the save operation and quit the application. - Quitting: Press
qat any time to quit the application.
File Output
The elapsed time is stored in a file named tracked-time.txt. Each entry is appended with the same format as before.
Dependencies
Used this Go libraries:
- Bubble Tea for building the TUI.
- Lipgloss for styling text.
- Bubbles for key handling.
0.1.0
Here are the binaries
Don't know what else to put here
It's blazingly fast tho