Skip to content

Commit

Permalink
Adding an final iota to determine header length
Browse files Browse the repository at this point in the history
  • Loading branch information
zveinn committed Oct 21, 2024
1 parent 622231d commit f56d955
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type column struct {
width int
}

var headerSlice = make([]header, 23)
var headerSlice = make([]header, header_length)

type HeaderField int

Expand Down Expand Up @@ -65,6 +65,7 @@ const (
CPULow
ID
HumanTime
header_length
)

func initHeaders() {
Expand Down

0 comments on commit f56d955

Please sign in to comment.