Skip to content

Conversation

na-na-hi
Copy link
Contributor

The current handling tries to handle the edge case where the current key in a combo key is -, but when the current key is not - and the next key is -, it misdetects - as separator and fails to parse correctly.

Fix this by restricting the handling to situations where the current key is -.

Fixes: ce23677
Fixes: #16784

The current handling tries to handle the edge case where the current key
in a combo key is -, but when the current key is not - and the next key
is -, it misdetects - as separator and fails to parse correctly.

Fix this by restricting the handling to situations where the current key
is -.

Fixes: ce23677
Copy link

Copy link
Member

@kasper93 kasper93 left a comment

Choose a reason for hiding this comment

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

Makes sense, thank you.

@kasper93 kasper93 merged commit 34b6439 into mpv-player:master Sep 13, 2025
28 checks passed
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.

multi-key sequence containing key "-" causes "Unknown key" error
2 participants