-
Notifications
You must be signed in to change notification settings - Fork 489
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
Conversation
@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. |
util/aspell.en.pws
Outdated
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest looks good.
tests/test_sticky_keys.py
Outdated
{}, | ||
], | ||
) | ||
|
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
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.