Cygwin zsh freezes on resize (Cygwin bash is fine) #18850

Closed
opened 2026-01-31 06:26:11 +00:00 by claunia · 6 comments
Owner

Originally created by @Nantris on GitHub (Nov 10, 2022).

Windows Terminal version

1.15.2875.0

Windows build number

10.0.22000.0

Other Software

Cygwin zsh instance inside Windows Terminal. Every other shell seems to work fine.

Steps to reproduce

Run a Cygwin zsh instance inside of Windows Terminal, then resize the window.

Expected Behavior

Input can continue

Actual Behavior

Terminal is frozen and useless. New terminal must be opened.

Originally created by @Nantris on GitHub (Nov 10, 2022). ### Windows Terminal version 1.15.2875.0 ### Windows build number 10.0.22000.0 ### Other Software Cygwin zsh instance inside Windows Terminal. Every other shell seems to work fine. ### Steps to reproduce Run a Cygwin zsh instance inside of Windows Terminal, then resize the window. ### Expected Behavior Input can continue ### Actual Behavior Terminal is frozen and useless. New terminal must be opened.
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 06:26:12 +00:00
Author
Owner

@Nantris commented on GitHub (Nov 10, 2022):

I found that this appears to be caused by using Git For Windows instead of the Cygwin Git. Quite unexpected. https://github.com/msys2/MSYS2-packages/issues/2820

I'm not sure if this should be opened or closed now.

@Nantris commented on GitHub (Nov 10, 2022): I found that this appears to be caused by using Git For Windows instead of the Cygwin Git. Quite unexpected. https://github.com/msys2/MSYS2-packages/issues/2820 I'm not sure if this should be opened or closed now.
Author
Owner

@j4james commented on GitHub (Nov 10, 2022):

I think this is the same issue that was reported in #13819. And the people in that thread also seemed to think it was a problem in Git For Windows, or at least the less pager that git is using.

@j4james commented on GitHub (Nov 10, 2022): I think this is the same issue that was reported in #13819. And the people in that thread also seemed to think it was a problem in Git For Windows, or at least the `less` pager that git is using.
Author
Owner

@Nantris commented on GitHub (Nov 10, 2022):

Thanks @j4james. This all makes sense now. I guess it's because I mapped zsh to use Git for Windows but not in bash.

@Nantris commented on GitHub (Nov 10, 2022): Thanks @j4james. This all makes sense now. I guess it's because I mapped `zsh` to use Git for Windows but not in `bash`.
Author
Owner

@inuoshios commented on GitHub (Nov 25, 2022):

Hey, @Slapbox. How were you able to map zsh to bash?

@inuoshios commented on GitHub (Nov 25, 2022): Hey, @Slapbox. How were you able to map zsh to bash?
Author
Owner

@Nantris commented on GitHub (Nov 29, 2022):

@ixxiv instead of running from cygwin.bat, create a cygwin.zsh.bat with the contents below, and run that instead:

@echo off
setlocal enableextensions
set TERM=
cd /d "%~dp0bin" && .\zsh --login -i

I'm working on a project to one-click install Zsh to Windows Terminal but it will be a few weeks before it's ready, optimistically.

@Nantris commented on GitHub (Nov 29, 2022): @ixxiv instead of running from `cygwin.bat`, create a `cygwin.zsh.bat` with the contents below, and run that instead: ``` @echo off setlocal enableextensions set TERM= cd /d "%~dp0bin" && .\zsh --login -i ``` I'm working on a project to one-click install Zsh to Windows Terminal but it will be a few weeks before it's ready, optimistically.
Author
Owner

@inuoshios commented on GitHub (Dec 3, 2022):

@Slapbox, please let me know when the project is ready. Thank you.

@inuoshios commented on GitHub (Dec 3, 2022): @Slapbox, please let me know when the project is ready. Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18850