Skip to content

Commit

Permalink
[fmtutil/table] Improved borders and separators rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Jan 19, 2024
1 parent 1fc2dae commit 6dfadc5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### 12.96.2

* `[fmtutil/table]` Improved borders and separators rendering

### 12.96.1

* `[terminal/tty]` Fixed bug in checking for TTY when stdin is a character device
Expand Down
2 changes: 1 addition & 1 deletion ek.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
// ////////////////////////////////////////////////////////////////////////////////// //

// VERSION is current ek package version
const VERSION = "12.96.1"
const VERSION = "12.96.2"

// ////////////////////////////////////////////////////////////////////////////////// //

Expand Down
2 changes: 1 addition & 1 deletion fmtutil/table/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ func getSeparatorSize(t *Table) int {
size += columnSize
}

return size + (len(t.columnSizes) * 3) - 1
return size + (len(t.columnSizes) * 3) - 2
}

// getTableWidth returns maximum width of table
Expand Down

0 comments on commit 6dfadc5

Please sign in to comment.