Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Example/Example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<Version>1.0</Version>
<InformationalVersion>1.0</InformationalVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NStack.Core" Version="1.0.5" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Terminal.Gui\Terminal.Gui.csproj" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions UnitTests/TextFormatterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2841,12 +2841,12 @@ public void System_Rune_ColumnWidth ()

c = new System.Rune (31);
Assert.Equal (-1, Rune.ColumnWidth (c)); // non printable character
Assert.Equal (-1, ustring.Make (c).ConsoleWidth);
Assert.Equal (0, ustring.Make (c).ConsoleWidth);// ConsoleWidth only returns zero or greater than zero
Assert.Equal (1, ustring.Make (c).Length);

c = new System.Rune (127);
Assert.Equal (-1, Rune.ColumnWidth (c)); // non printable character
Assert.Equal (-1, ustring.Make (c).ConsoleWidth);
Assert.Equal (0, ustring.Make (c).ConsoleWidth);
Assert.Equal (1, ustring.Make (c).Length);
}

Expand Down