Skip to content

Home and End keys no longer work in input dialog #4553

@adigie

Description

@adigie

Describe the bug
Home/End stopped working in input dialogs.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Local branches.
  2. Press n to open new branch input dialog.
  3. Write branch name.
  4. Press Home key.

Expected behavior
Cursor is moved to the beginning of the input.

Version info:

commit=5f809809dda06c98e51743ac8c19af6a26a5984b, build date=2025-04-14T08:30:35Z, build source=binaryRelease, version=0.49.0, os=linux, arch=amd64, git version=2.43.0
git version 2.43.0

Additional context
I found that the regression was introduced in 2b783d1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions