When issuing a build with gradle, it seems to try and detect what colors to show. Whatever it decides upon, the terminal can't handle it properly. Here's a sample screenshot:
As you can see, other colors work in the console, but whatever Gradle is trying to do, it doesn't work. I'm not sure if this is a Gradle issue, but this DOES NOT happen in the native terminal that comes with git bash. Comparison:
@albinekb Any more info I can provide for this?
Don't think so, I can take a look soon if I can reproduce 馃憤
@albinekb Any luck? Happy to try and help if I can!
I fixed this myself after some annoying debugging. Hyper sets the TERM environment to xterm-256 (I think this is Hyper's doing), which changes the way Gradle does the output. To fix this, I set it manually in my config:
env: {
TERM: 'cygwin'
}
I'm not sure who's end this problem originates on. Feel free to close if you think it's a Gradle issue.
@NomNuggetNom It works, thank you.
@albinekb Is there a plan for a long-term solution? Changing the config file just to fix hyper for gradle doesn't seem like a good long term solution to me.
I still experience this issue when running a gradlew bootRun command.
V2.1.0-canary.2. Tried to set the env to cygwin. No difference for me.
Most helpful comment
I fixed this myself after some annoying debugging. Hyper sets the
TERMenvironment toxterm-256(I think this is Hyper's doing), which changes the way Gradle does the output. To fix this, I set it manually in my config:I'm not sure who's end this problem originates on. Feel free to close if you think it's a Gradle issue.