mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 04:59:25 -07:00
fix: updated islazy to v1.9.3 fixed a bug in the way tui.Table was rendered
This commit is contained in:
parent
91391a77f2
commit
8abaeeacee
2 changed files with 5 additions and 5 deletions
4
vendor/github.com/evilsocket/islazy/tui/table.go
generated
vendored
4
vendor/github.com/evilsocket/islazy/tui/table.go
generated
vendored
|
@ -63,12 +63,12 @@ func padded(s string, maxLen int, align alignment) string {
|
|||
// data.
|
||||
func Table(w io.Writer, columns []string, rows [][]string) {
|
||||
for i, col := range columns {
|
||||
columns[i] = fmt.Sprintf(" %s ", col)
|
||||
columns[i] = fmt.Sprintf(" %s", col)
|
||||
}
|
||||
|
||||
for i, row := range rows {
|
||||
for j, cell := range row {
|
||||
rows[i][j] = fmt.Sprintf(" %s ", cell)
|
||||
rows[i][j] = fmt.Sprintf(" %s", cell)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue