-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
https://docs.gradle.org/5.2/release-notes.html announced TERM=mintty
support.
I run Gradle 6.6.1 inside Cygwin mintty
:
TERM=mintty gradle help --task wrapper
and I cannot see some text, like that is between \e[1m\e[97m
and \e[m\e[K
(I used GNU screen to record terminal output, \e
is replacement for unprintable by 0x1B / ESCAPE):
Path
\e[1m\e[97m :wrapper\e[m\e[K
Type
\e[1m\e[97m Wrapper\e[m (org.gradle.api.tasks.wrapper.Wrapper)\e[K
Options
\e[1m\e[97m--distribution-type\e[m The type of the Gradle distribution to be used by the wrapper.\e[K
because I altered ~/.minttyrc
to:
ForegroundColour=black
BackgroundColour=white
and \e[97m
means to turn foreground to BRIGHT WHITE, the same as my BackgroundColour
:
https://www.gnu.org/software/screen/manual/html_node/Control-Sequences.html
ESC [ parameters m
- 90..97
set foreground to bright versions of 30..37
.
By default mintty terminal uses Black background but I have difficulty to look to white-on-black, instead for me the most disncinctive text is black on white.
Check manual: https://mintty.github.io/mintty.1.html