-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal detection failing #26
Comments
At least for the ConEmu Cygwin connector it seems that the detection mechanism used here is wrong, as the handles are not WinAPI capable, but "true" posic tty handles. So I guess the detection has to be changed to handle this properly. |
The terminal handling can now detect Mintty for Cygwin and msys. Seems to be working fine with Git Bash from Git for Windows now. The fix will make its way into a Gradle release soon. |
However, terminal width detection does not seem to be properly working with MinTTY / Bash from Git for Windows. If I resize the window to > 80 columns, Gradle's output is still cropped to 80 chars per line. |
Yes, it currently only detects whether the terminal is there. It does not yet know how to determine the terminal size. |
I've added #33 for the terminal size issue. I'm going to close this issue, as the changes to detect the terminal are now in Gradle (as of Gradle 5.2). |
When executing Gradle on Git Bash from Git for Windows, or from ConEmus conemu-cyg-32.exe (which then starts the Cygwin Bash), no progress and colors are shown, because https://github.com/adammurdoch/native-platform/blob/master/src/main/cpp/win.cpp#L404-L419 returns
false
. With plain Cygwin Bash it works fine though.The text was updated successfully, but these errors were encountered: