Malposition of gradle output log

18 views
Skip to first unread message

李倓

unread,
Aug 14, 2021, 5:32:46 PM8/14/21
to git-for-windows
Hi, users:
    When I execute gradle command with git-bash for windows,  the log output shows with  malposition, just like this:

20210809124022.png
    It seems like that '\r' dose not work well on git-bash for windows. But there is no problem on my friend's Win10. I had tried several methods to resolve this problem, and it all failed.I guess, there would be a conf which control the behavior about this.
    So, who can help me to make it working well?

   

Johannes Schindelin

unread,
Aug 16, 2021, 7:20:28 AM8/16/21
to 李倓, git-for-windows
Hi,
The first step would be to reduce the problematic scenario to a minimal
one.

For example, you could set up a fresh project that uses Gradle, then
add just enough to reproduce the problem.

Then, you could work on reproducing the problem without even having
Gradle, maybe in a plain Java command.

Once that reproduces the issue, it would be good to reduce the complexity
even further so that Java is not required to reproduce the bug.

Once it is easy enough to reproduce for other people, it will either be
obvious what the root cause is, or other people could join the
investigation.

Ciao,
Johannes
Reply all
Reply to author
Forward
0 new messages