Skip to content

kcli v0.2.4 — Fixed Column Alignment

Choose a tag to compare

@vellankikoti vellankikoti released this 20 Mar 02:25
· 9 commits to main since this release

kcli v0.2.4 — Fixed Column Alignment

Fix

Columns are now perfectly aligned even with Unicode status icons.

The misalignment was caused by len() counting bytes instead of display width. ✓ is 3 bytes but displays as 1 character, causing all columns after STATUS to shift right.

Now uses go-runewidth for accurate display width calculation in:

  • Column width measurement
  • Text padding (left/right/center alignment)
  • Text truncation with ellipsis

Upgrade

curl -sL https://github.com/vellankikoti/kcli/releases/download/v0.2.4/kcli-darwin-arm64.tar.gz | tar xz
sudo mv kcli /usr/local/bin/