Skip to content

Commit

Permalink
Fix small bug in ResetStyles.
Browse files Browse the repository at this point in the history
Signed-off-by: david-tamar <von.tamar@outlook.com>
  • Loading branch information
davidvontamar committed Apr 18, 2019
1 parent ee56f5a commit 84b83ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ANSITerm/ANSITerm.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageVersion>0.1.0</PackageVersion>
<PackageVersion>0.1.1</PackageVersion>
<Title>ANSITerm</Title>
<Authors>david-tamar</Authors>
<Description>ANSI escape codes and true color formatting for .NET's console.</Description>
<Copyright>2019 David Tamar</Copyright>
<PackageProjectUrl>https://github.com/david-tamar/ANSITerm</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/david-tamar/ansi-console.net/blob/master/LICENSE</PackageLicenseUrl>
<PackageLicenseUrl>https://github.com/david-tamar/ANSITerm/blob/master/LICENSE</PackageLicenseUrl>
<RepositoryUrl>https://github.com/david-tamar/ANSITerm</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>console; ansi; terminal; escape codes</PackageTags>
<PackageReleaseNotes>The git repository includes a test project, examples and documentation.</PackageReleaseNotes>
<PackageReleaseNotes>Bugfix in ResetStyles.</PackageReleaseNotes>
<TargetFrameworks>netstandard2.0;netcoreapp2.2</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>Tamar.ANSITerm</PackageId>
Expand Down
2 changes: 2 additions & 0 deletions ANSITerm/Console.cs
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ public static void ResetStyle()
SGR[3] = false; // Italic
SGR[4] = false; // Underline
SGR[5] = false; // Blink
SGR[6] = false; // Rapid
SGR[7] = false; // Reverse
UpdateSGR();
}

Expand Down

0 comments on commit 84b83ea

Please sign in to comment.