We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3f8ace commit 45fa5adCopy full SHA for 45fa5ad
1 file changed
internal/tui/model.go
@@ -375,4 +375,11 @@ func (m *Model) resizeTable() {
375
h = 1
376
}
377
m.table.SetHeight(h)
378
+
379
+ // Ensure page size is at least 5 to avoid too small pages
380
+ if h < 5 {
381
+ h = 5
382
+ }
383
+ m.pageSize = h // Update page size based on new height
384
+ m.updateTable() // Refresh table to apply new page size
385
0 commit comments