Skip to content

Support ctrl-h as a synonym for backspace in editor#94

Merged
stefanhaller merged 1 commit intomasterfrom
add-ctrl-h-as-synonym-for-backspace
Jan 3, 2026
Merged

Support ctrl-h as a synonym for backspace in editor#94
stefanhaller merged 1 commit intomasterfrom
add-ctrl-h-as-synonym-for-backspace

Conversation

@stefanhaller
Copy link
Copy Markdown
Collaborator

Typing ctrl-h instead of backspace used to work with the old tcell version, because in the legacy xterm protocol they are indistinguishable. With the new version and terminals that support the kitty protocol, ctrl-h is detected as a separate key. However, some users prefer to type ctrl-h instead of backspace, so keep supporting it even with the new protocol.

Typing ctrl-h instead of backspace used to work with the old tcell version,
because in the legacy xterm protocol they are indistinguishable. With the new
version and terminals that support the kitty protocol, ctrl-h is detected as a
separate key. However, some users prefer to type ctrl-h instead of backspace, so
keep supporting it even with the new protocol.
@stefanhaller stefanhaller merged commit b7e0303 into master Jan 3, 2026
1 check passed
@stefanhaller stefanhaller deleted the add-ctrl-h-as-synonym-for-backspace branch January 3, 2026 13:38
stefanhaller added a commit to jesseduffield/lazygit that referenced this pull request Jan 3, 2026
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.

1 participant