Skip to content

Add -c for continuous updates as well as A and C keybinds#58

Merged
ldemailly merged 6 commits intomainfrom
continuous
Oct 14, 2025
Merged

Add -c for continuous updates as well as A and C keybinds#58
ldemailly merged 6 commits intomainfrom
continuous

Conversation

@ldemailly
Copy link
Copy Markdown
Member

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 14, 2025

Codecov Report

❌ Patch coverage is 0% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (e90faa2) to head (4e38b35).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
tclock.go 0.00% 27 Missing ⚠️
analog.go 0.00% 3 Missing ⚠️
image.go 0.00% 3 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 -c flag 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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@ldemailly ldemailly merged commit 5769853 into main Oct 14, 2025
9 checks passed
@ldemailly ldemailly deleted the continuous branch October 14, 2025 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants