Terminal resize issue with Intellij and Git for Windows SDK

131 Views Asked by At

I am on Windows running Intellij and Git for Windows SDK for a feature rich terminal on Windows (pacman, oh my zsh, etc...)

I looked up previously on which command to use to make it the default Intellij Terminal and SO delivered:

How can I launch git-for-windows SDK's git-bash in Windows Terminal?

I am using the cmd from above's 2nd post:

C:\git-sdk-64\msys2_shell.cmd -defterm -here -no-start -mingw64 

Everything works fine except for a stubborn resizing issue :

Every time I resize the Intellij Terminal, the MSYS terminal stops receiving key strokes and I have to reopen a new one:

(can't type after the resize under the echo hello )

( can't type after the resize under the echo hello )

Trying to avoid WSL for now as I noticed maven builds through wsl were noticeably slower than directly on powershell or via git terminal.

Workaround

Not exactly a solution but if you run with MinGW32, the resize no longer causes the problem

To be seen if I will suffer from other 32/64 bit incompatibilities

using for now:

C:\git-sdk-64\msys2_shell.cmd -defterm -here -no-start -mingw32 
0

There are 0 best solutions below