Skip to content

Commit

Permalink
added \e[0m after outputting errors/warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown6656 committed Mar 30, 2024
1 parent 70560e4 commit ef9ae6e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
################################################################
# Auto-generated 2024-03-30 21:04:57.433 #
# Auto-generated 2024-03-31 00:33:17.027 #
# ANY CHANGES TO THIS DOCUMENT WILL BE LOST UPON RE-GENERATION #
################################################################
#
# git commit: 3dde4d4dd4c6f927167c272a86af6b57b96dee01
version: 0.10.2200.8634
# git commit: d3dd719f9234b3ee9a639e49216d21b664f26072
version: 0.10.2216.8635
image: Visual Studio 2022
configuration: Release
before_build:
Expand Down
16 changes: 8 additions & 8 deletions new/AutoItInterpreter/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@

//////////////////////////////////////////////////////////////////////////
// Auto-generated 2024-03-30 21:04:57.433 //
// Auto-generated 2024-03-31 00:33:17.027 //
// ANY CHANGES TO THIS DOCUMENT WILL BE LOST UPON RE-GENERATION //
//////////////////////////////////////////////////////////////////////////

using System.Reflection;
using System;

[assembly: AssemblyVersion("0.10.2200.8634")]
[assembly: AssemblyFileVersion("0.10.2200.8634")]
[assembly: AssemblyInformationalVersion("v.0.10.2200.8634, commit: 3dde4d4dd4c6f927167c272a86af6b57b96dee01")]
[assembly: AssemblyVersion("0.10.2216.8635")]
[assembly: AssemblyFileVersion("0.10.2216.8635")]
[assembly: AssemblyInformationalVersion("v.0.10.2216.8635, commit: d3dd719f9234b3ee9a639e49216d21b664f26072")]
[assembly: AssemblyCompany("Unknown6656")]
[assembly: AssemblyCopyright("Copyright © 2018 - 2024, Unknown6656")]
[assembly: AssemblyProduct("AutoIt-Interpreter by Unknown6656")]
Expand All @@ -35,11 +35,11 @@ public static class __module__
/// <summary>
/// The interpreter's current version.
/// </summary>
public static Version? InterpreterVersion { get; } = Version.Parse("0.10.2200.8634");
public static Version? InterpreterVersion { get; } = Version.Parse("0.10.2216.8635");
/// <summary>
/// The Git hash associated with the current build.
/// </summary>
public const string GitHash = "3dde4d4dd4c6f927167c272a86af6b57b96dee01";
public const string GitHash = "d3dd719f9234b3ee9a639e49216d21b664f26072";
/// <summary>
/// The name of the GitHub repository associated with <see cref="RepositoryURL"/>.
/// </summary>
Expand All @@ -49,7 +49,7 @@ public static class __module__
/// </summary>
public const string RepositoryURL = "https://github.com/Unknown6656/AutoIt-Interpreter";
/// <summary>
/// The date and time of the current build (2024-03-30 21:04:57.433).
/// The date and time of the current build (2024-03-31 00:33:17.027).
/// </summary>
public static DateTime DateBuilt { get; } = DateTime.FromFileTimeUtc(0x01da82dd89ee53e0L);
public static DateTime DateBuilt { get; } = DateTime.FromFileTimeUtc(0x01da82faa44520e7L);
}
6 changes: 5 additions & 1 deletion new/AutoItInterpreter/CommandLineInterface/MainProgram.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Text.RegularExpressions;
using System.Text.RegularExpressions;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
Expand Down Expand Up @@ -639,6 +639,8 @@ public static void PrintError(this string message) => _print_queue.Enqueue(() =>
ConsoleExtensions.RGBForegroundColor = RGBAColor.White;
Console.WriteLine(new string('_', Console.WindowWidth - 1));
}
Console.Write("\e[0m");
}));

/// <summary>
Expand Down Expand Up @@ -672,6 +674,8 @@ public static void PrintWarning(SourceLocation? location, string message) => _pr
Console.WriteLine(message.Trim());
ConsoleExtensions.RGBForegroundColor = RGBAColor.White;
}
Console.Write("\e[0m");
}));

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions new/AutoItInterpreter/version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.10.2200.8634
3dde4d4dd4c6f927167c272a86af6b57b96dee01
0.10.2216.8635
d3dd719f9234b3ee9a639e49216d21b664f26072

0 comments on commit ef9ae6e

Please sign in to comment.