Skip to content

Commit

Permalink
Fixed bug with console colors in linux!
Browse files Browse the repository at this point in the history
  • Loading branch information
jar0l committed Jul 2, 2018
1 parent 9d9d7ac commit 1b82c88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Messenger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -458,10 +458,10 @@ string msg // Message.
{
if (b)
{
if (i < n)
if (i < n && fclr[i] != System.Console.ForegroundColor)
System.Console.ForegroundColor = fclr[i];

if (i < m)
if (i < m && bclr[i] != System.Console.BackgroundColor)
System.Console.BackgroundColor = bclr[i];
}

Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.2")]
[assembly: AssemblyFileVersion("1.1.0.2")]
[assembly: AssemblyVersion("1.1.2.4")]
[assembly: AssemblyFileVersion("1.1.2.4")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]

0 comments on commit 1b82c88

Please sign in to comment.