Skip to content

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

@jathek

Description

@jathek

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 #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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions