-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Currently, Git Bash always runs in a MinTTY window. That was a great choice when all that was available was Windows' old console window, especially in times when all one could select was rectangular areas, instead of continuous spans of text that might potentially wrap across multiple lines.
However in the meantime there's Windows Terminal and it's actually really great: It's very flexible actively developed, it has tons of options, it get constantly improved. I actually use it myself a lot, except for Git Bash because Git Bash currently only runs in MinTTY.
So here is a splendid opportunity for new contributors to the Git for Windows project! I want to state explicitly here that I am not opposed at all to AI-assisted contributions in this project, just make sure that the modifications make sense before contributing them π.
The idea is to detect whether Windows Terminal is available (this is something to be determined how best to do) and if so ,coffer it as as an alternative to MinTTY.
To get started, check out the documentation about creating a new installer, verify that you can generate the page that let's the user choose between Bash and CMD , figure out a way to detect whether Windows terminal is available, then add the appropriate check to install.iss
in the section where the choice between Bash and MinTTY is implemented, and offer Git Bash in Windows Terminal as a 3rd choice if it is available.
That choice should probably reuse the code that we already have to add a Windows terminal profile, and then replace the Start Menu item "Git Bash" to call that instead (wt -p "Git Bash"
).