summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/StardewModdingAPI.Installer/InteractiveInstaller.cs4
-rw-r--r--src/StardewModdingAPI/Framework/Monitor.cs4
2 files changed, 4 insertions, 4 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
}
}
diff --git a/src/StardewModdingAPI/Framework/Monitor.cs b/src/StardewModdingAPI/Framework/Monitor.cs
index b492e5c7..39b567d8 100644
--- a/src/StardewModdingAPI/Framework/Monitor.cs
+++ b/src/StardewModdingAPI/Framework/Monitor.cs
@@ -133,12 +133,12 @@ namespace StardewModdingAPI.Framework
{
try
{
- Console.ResetColor();
+ Console.ForegroundColor = Console.ForegroundColor;
return true;
}
catch (Exception)
{
- return false;
+ return false; // Mono bug
}
}
}