I am using Win10, .net 6, and ConsoleTables 2.7.0.
I think the MaxWidth field causes wrong row count. Is this intended or a bug?
In addition, the bottom border of the table breaks.
Code:
using ConsoleTables;
class Program
{
static void Main(string[] args)
{
var consoleTable = new ConsoleTable(new ConsoleTableOptions
{
Columns = new[] { "column" },
EnableCount = true
});
consoleTable.MaxWidth = 2;
consoleTable.AddRow("abcdefghi");
consoleTable.Write();
}
}
Output:
----------
| column |
----------
| ab |
----------
| cd |
----------
| ef |
----------
| gh |
----------
| i |
Count: 5--
I am using Win10, .net 6, and ConsoleTables 2.7.0.
I think the
MaxWidthfield causes wrong row count. Is this intended or a bug?In addition, the bottom border of the table breaks.
Code:
Output: