Skip to content

Comments

bindings: Correct KeySequenceEvent comparison (fix crash)#3266

Merged
JoeKar merged 2 commits intomicro-editor:masterfrom
JoeKar:fix/keysequence-comparison
Apr 26, 2024
Merged

bindings: Correct KeySequenceEvent comparison (fix crash)#3266
JoeKar merged 2 commits intomicro-editor:masterfrom
JoeKar:fix/keysequence-comparison

Conversation

@JoeKar
Copy link
Member

@JoeKar JoeKar commented Apr 24, 2024

We've to iterate over the included elements, since slices can't be simply compared with the comparison operators.

Fixes #3194

@JoeKar JoeKar force-pushed the fix/keysequence-comparison branch from a516ebd to 8ded4c1 Compare April 24, 2024 21:55
@JoeKar JoeKar force-pushed the fix/keysequence-comparison branch from 8ded4c1 to 6be193d Compare April 25, 2024 17:51
JoeKar added 2 commits April 25, 2024 23:20
We've to iterate over the included elements,
since slices can't be simply compared with the comparison operators.
@JoeKar JoeKar force-pushed the fix/keysequence-comparison branch from 6be193d to b05df07 Compare April 25, 2024 21:23
@JoeKar JoeKar merged commit 385437d into micro-editor:master Apr 26, 2024
@JoeKar JoeKar deleted the fix/keysequence-comparison branch April 26, 2024 15:37
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.

Crash when attempting to bind two key sequences C-x C-c Quit and C-x C-s Save

2 participants