Skip to content

Treat Home and End Keys the same as direction keys - #137

Closed
Squidroot2 wants to merge 3 commits into
hyprwm:mainfrom
Squidroot2:home_end_keys
Closed

Squidroot2 wants to merge 3 commits into
hyprwm:mainfrom
Squidroot2:home_end_keys

Conversation

@Squidroot2

Copy link
Copy Markdown
Contributor

This fixes an issue I was having with hyprlauncher where the Home and End keys were being ignored. This just adds them to the if statement for direction buttons so they return early with the correct event data instead of falling through to code for handling keys associated with a UTF-8 string.

This is my first contribution so forgive me if there is a good reason that the Home and End keys shouldn't be handled like the direction keys. But I can confirm that this did resolve my issue.

Test was generated with an LLM but I did review it and it seemed sensible enough.

@github-actions

Copy link
Copy Markdown

Hi @Squidroot2,

Thanks for your contribution! Unfortunately, Hyprland and hypr* no longer
accept contributions from unvouched contributors.

To get vouched, please see our contributing guide at wiki.hypr.land/Contributing-and-Debugging

This PR has been closed automatically and will not be re-opened.

@UncleJ4ck

UncleJ4ck commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

thanks for the fix and the test. reopened as #156 with your commit and authorship preserved since the autocloser got this one. credit's yours.

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