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
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static string GetPaddedString(List<string> strings, int offset, int[] lis
// If the string won't fit in the column, append an ellipsis.
if (strings[i].Length > listViewColumnWidths[i])
{
builder.Append(strings[i].Substring(0, listViewColumnWidths[i] - 4));
builder.Append(strings[i], 0, listViewColumnWidths[i] - 3);
builder.Append("...");
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
RootModule = 'Microsoft.PowerShell.ConsoleGuiTools.dll'

# Version number of this module.
ModuleVersion = '0.6.0'
ModuleVersion = '0.6.1'

# Supported PSEditions
CompatiblePSEditions = @( 'Core' )
Expand Down Expand Up @@ -106,6 +106,10 @@ PrivateData = @{
# ReleaseNotes of this module
ReleaseNotes = '# Release Notes

## v0.6.1

Fix off-by-one error with ellipsis so columns should be better aligned.

## v0.6.0

Now supports `-Filter` parameter.
Expand Down