Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sticky_keys hold release #1055

Merged
merged 7 commits into from
Dec 14, 2024
Merged

Fix sticky_keys hold release #1055

merged 7 commits into from
Dec 14, 2024

Conversation

regicidalplutophage
Copy link
Member

@regicidalplutophage regicidalplutophage commented Dec 11, 2024

While looking into this and trying to figure out why is unit test so unhappy with my solution I started to realize that defer_release never worked right -- there had to be a reason I weren't using it on my own keyboard, despite on paper this is exactly how I want my sticky keys to behave.

The unit test's new expected result to me is way more intuitive.

@regicidalplutophage
Copy link
Member Author

regicidalplutophage commented Dec 11, 2024

@xs5871 Feel free to fix the aspell dictionary. I've no idea how it should be created or sorted -- the huge diff is because I saw that it was somewhat alphabetized, but apparently I alphabetized it too much.

@regicidalplutophage regicidalplutophage changed the title Fix sticky_keys defer_release Fix sticky_keys hold release Dec 13, 2024
Copy link
Collaborator

Choose a reason for hiding this comment

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

@xs5871 Feel free to fix the aspell dictionary. I've no idea how it should be created or sorted -- the huge diff is because I saw that it was somewhat alphabetized, but apparently I alphabetized it too much.

It already was sorted alphabetically (A-Za-z, just like ASCII). It automatically sorts and increases the dictionary counter if you run utils/spellcheck.sh.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, OK. I'll run it locally then.

docs/en/sticky_keys.md Show resolved Hide resolved
kmk/modules/sticky_keys.py Outdated Show resolved Hide resolved
tests/test_sticky_keys.py Show resolved Hide resolved
Copy link
Collaborator

@xs5871 xs5871 left a comment

Choose a reason for hiding this comment

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

Rest looks good.

{},
],
)

Copy link
Collaborator

Choose a reason for hiding this comment

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

That already exists on line 114: stick, multiple interleaved other.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh. Then that illustrates the another is pressed doc change.

@xs5871 xs5871 merged commit 973ffd3 into main Dec 14, 2024
2 checks passed
@xs5871 xs5871 deleted the regicidalplutophage-patch-1 branch December 14, 2024 08:49
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.

2 participants