SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Improve installer readability on Mac

Pathoschild opened this issue · 6 comments

commented

Continuing from #327, also fix the installer's text color on Mac:

commented

I don’t think this is a problem with SMAPI. It was fine for me.

Couldn’t you just use the foreground color specified by the terminal?

commented

@Saklad5 SMAPI can change color scheme to match the background color, but that value isn't provided on Mac. I'll try checking the default foreground color; if that's specified, I can switch color scheme based on that.

commented

You could just forgo the colors entirely, as well. Most CLI programs don’t color-code. If you do want to use colors, make sure it is using the ANSI colors that have been set, since that can be changed by the user. If you want it to be blue, use whatever has been configured to be “blue”.

commented

The installer is meant for users who often aren't comfortable with CLI tools, so I think the color coding is useful. SMAPI uses .NET Framework's standard console colors, which are determined by the implementation for that OS.

commented

Fixed in develop for the upcoming SMAPI 2.6-beta.9.

commented

So the blame lies with Mono’s implementation. In that case, any changes should come from them, not here. Carry on.