Skip to content

Show shortcut hints when holding Control#116

Merged
khoi merged 1 commit into
mainfrom
feat/ctrl-hold-hotkeys
Feb 25, 2026
Merged

Show shortcut hints when holding Control#116
khoi merged 1 commit into
mainfrom
feat/ctrl-hold-hotkeys

Conversation

@khoi
Copy link
Copy Markdown
Contributor

@khoi khoi commented Feb 25, 2026

Summary

  • show shortcut hints when either Command or Control is held by reusing a single modifier-detection path in CommandKeyObserver
  • keep the existing hold-delay behavior unchanged while expanding visibility trigger conditions to include Control
  • add CommandKeyObserverTests coverage for positive (Command/Control) and negative (other modifiers) cases

Validation

  • make lint
  • xcodebuild test -project supacode.xcodeproj -scheme supacode -destination "platform=macOS" -only-testing:supacodeTests/CommandKeyObserverTests CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" -skipMacroValidation
  • make build-app

@khoi khoi merged commit 7991923 into main Feb 25, 2026
1 check passed
@khoi khoi deleted the feat/ctrl-hold-hotkeys branch February 25, 2026 06:43
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.

1 participant