Add -c for continuous updates as well as A and C keybinds#58
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #58 +/- ##
=====================================
Coverage 0.00% 0.00%
=====================================
Files 6 6
Lines 646 671 +25
=====================================
- Misses 646 671 +25 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds continuous updating functionality to the analog clock with smooth second hand movement, along with runtime toggles for analog and continuous modes.
- Adds
-cflag for continuous updates at configurable FPS instead of discrete second ticks - Implements keyboard shortcuts 'a'/'A' and 'c'/'C' to toggle analog and continuous modes during runtime
- Updates documentation to reflect new features and keybindings
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| tclock.go | Adds continuous mode flag, FPS configuration, runtime keybinding logic, and auto-enables antialiasing for continuous mode |
| image.go | Implements smooth second hand calculation using microsecond precision for continuous updates |
| analog.go | Implements smooth second hand calculation using microsecond precision for continuous updates |
| README.md | Documents new command-line flag and keyboard shortcuts |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.