[GRADLE-2373] On the Windows 7 (64 bit SP1) command prompt, gradle fails to restore previous text color on exit Created: 06/Jul/12  Updated: 04/Jan/13  Resolved: 18/Nov/12

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.3-rc-1

Type: Bug
Reporter: Gradle Forums Assignee: Unassigned
Resolution: Fixed Votes: 0


 Description   

I've customized the command prompt to user white text on darkgray background.

When gradle runs it changes the text color to black and leaves it there when it exits, i.e. gradle fails to restore the color back to whatever was used prior to running gradle (white in this case).

One (sort of) workaround to get my customized colors back again after running gradle is to use the color command in Windows, unfortunately this resets the colors for entire screen buffer including any colorized output from gradle or otherwise, which is not ideal either

Anyway, this is low priority / minor nuisance, but maybe someone has some input?

Regards,
Daniel



 Comments   
Comment by Daniel Johansson [ 06/Jul/12 ]

I forgot to mention that I'm using gradle 1.0. //Daniel

Comment by Adam Murdoch [ 14/Nov/12 ]

This should be fixed now. Could you try Gradle 1.3-rc-1 and let us know if the fix works for you?

Comment by Daniel Johansson [ 14/Nov/12 ]

Hi! I've tested using 1.3-rc-1 and the fix works for me too. Good work!

Generated at Wed Jun 30 12:20:09 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.