Home/End/Del don't work with zsh under Git for Windows #21312

Closed
opened 2026-01-31 07:39:34 +00:00 by claunia · 3 comments
Owner

Originally created by @jathek on GitHub (Feb 25, 2024).

Windows Terminal version

1.20.10303.0

Windows build number

10.0.19045.3930

Other Software

Git for Windows 2.43.0 winget install --id Git.Git -e --source winget
zsh 5.9-2: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64

Steps to reproduce

  1. Install Git for Windows
  2. Install zsh by extracting the .zst to %ProgramFiles%\Git
  3. Try to use Home/End/Del keys in a zsh session in Git Bash

Expected Behavior

The keys to work

Actual Behavior

Nothing happens. Several threads around the internet mention trying to use "cat" to identify the escape character for Home or End, but Windows Terminal doesn't print anything when doing that.

It looks like https://github.com/microsoft/terminal/issues/8179 was a similar issue, with a couple of people towards the end of the issue mentioning that they have similar issues. It doesn't look like the issue was ever resolved for them though.

Originally created by @jathek on GitHub (Feb 25, 2024). ### Windows Terminal version 1.20.10303.0 ### Windows build number 10.0.19045.3930 ### Other Software Git for Windows 2.43.0 `winget install --id Git.Git -e --source winget` zsh 5.9-2: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64 ### Steps to reproduce 1. Install Git for Windows 2. Install zsh by extracting the .zst to %ProgramFiles%\Git 3. Try to use Home/End/Del keys in a zsh session in Git Bash ### Expected Behavior The keys to work ### Actual Behavior Nothing happens. Several threads around the internet mention trying to use "cat" to identify the escape character for Home or End, but Windows Terminal doesn't print anything when doing that. It looks like https://github.com/microsoft/terminal/issues/8179 was a similar issue, with a couple of people towards the end of the issue mentioning that they have similar issues. It doesn't look like the issue was ever resolved for them though.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:39:34 +00:00
Author
Owner

@carlos-zamora commented on GitHub (Feb 28, 2024):

Thanks for filing. This should be fixed in 1.20.10532.0 via PR #16675. We're going to mark this as a /dup of #16672

@carlos-zamora commented on GitHub (Feb 28, 2024): Thanks for filing. This should be fixed in 1.20.10532.0 via PR #16675. We're going to mark this as a /dup of #16672
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Feb 28, 2024):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Feb 28, 2024): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Author
Owner

@jathek commented on GitHub (Feb 28, 2024):

Thanks for filing. This should be fixed in 1.20.10532.0 via PR #16675. We're going to mark this as a /dup of #16672

Sounds good. I ended up installing oh-my-zsh just to finish configuring things, and all the keys I mentioned started working again. I assume it's binding the keys somewhere.

@jathek commented on GitHub (Feb 28, 2024): > Thanks for filing. This should be fixed in 1.20.10532.0 via PR #16675. We're going to mark this as a /dup of #16672 Sounds good. I ended up installing [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh) just to finish configuring things, and all the keys I mentioned started working again. I assume it's binding the keys somewhere.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21312