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

Open
opened 2026-01-31 07:39:27 +00:00 by claunia · 0 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:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21307