Skip to content

fix(keyboard): collapse shortcuts while modifier is held - #148

Merged
esphynox merged 1 commit into
mainfrom
fix/held-modifier-history-collapse
Sep 4, 2026
Merged

fix(keyboard): collapse shortcuts while modifier is held#148
esphynox merged 1 commit into
mainfrom
fix/held-modifier-history-collapse

Conversation

@esphynox

@esphynox esphynox commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Finalize each shortcut when its non-modifier key is released, so repeated shortcuts collapse and the history limit is enforced even while Command remains held.

Fixes #145.

Tests

  • tuist generate
  • xcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS'
  • Other: xcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS' -only-testing:KeytyTests/KeyboardVisualizerTests

Run project commands from Apps/Keyty.

UI Changes

Before After
keyty-shortcut-group-collapse-before.mp4
keyty-shortcut-group-collapse-after.mp4

Documentation

  • Updated relevant docs
  • No docs needed

Release Notes

Fixed shortcut history growing beyond its limit and repeated shortcuts not collapsing while a modifier key is held.

@esphynox esphynox added the bug Something isn't working label Sep 4, 2026
@esphynox esphynox self-assigned this Sep 4, 2026
@esphynox
esphynox merged commit c442237 into main Sep 4, 2026
1 check passed
@esphynox
esphynox deleted the fix/held-modifier-history-collapse branch September 4, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] cmd-whatever doesn't collapse or limit history if cmd is held down

1 participant