Skip to content

Commit

Permalink
fix: remove debug table info
Browse files Browse the repository at this point in the history
  • Loading branch information
leg100 committed Jul 1, 2024
1 parent 23d7c8d commit 916a859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tui/table/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ func (m Model[V]) RowInfo() string {
if m.filterVisible() {
return prefix + fmt.Sprintf("%d/%d", len(m.rows), len(m.items))
}
return fmt.Sprintf("vph: %d; offset: %d; start: %d; cursor: %d; ", m.viewport.Height, m.offset, m.start, m.cursorRow) + prefix + strconv.Itoa(len(m.rows))
return prefix + strconv.Itoa(len(m.rows))
}

// SetItems sets new items on the table, overwriting existing items. If the
Expand Down

0 comments on commit 916a859

Please sign in to comment.