summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-01-14 15:53:28 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-01-14 15:53:28 -0500
commitf957af71d1533e6b3635c7f4ac31807367a99195 (patch)
tree071b416dddc9d90b4a099df4566d0825d7fc1b12 /src/StardewModdingAPI.Installer/InteractiveInstaller.cs
parent82dd5b3068d7c049322ec37cfc29081cfdd419b4 (diff)
downloadSMAPI-f957af71d1533e6b3635c7f4ac31807367a99195.tar.gz
SMAPI-f957af71d1533e6b3635c7f4ac31807367a99195.tar.bz2
SMAPI-f957af71d1533e6b3635c7f4ac31807367a99195.zip
fix console color support check (#206)
Diffstat (limited to 'src/StardewModdingAPI.Installer/InteractiveInstaller.cs')
-rw-r--r--src/StardewModdingAPI.Installer/InteractiveInstaller.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
index d7279cf7..ef813eb3 100644
--- a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
+++ b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
@@ -295,12 +295,12 @@ namespace StardewModdingApi.Installer
{
try
{
- Console.ResetColor();
+ Console.ForegroundColor = Console.ForegroundColor;
return true;
}
catch (Exception)
{
- return false;
+ return false; // Mono bug
}
}