fix(tui): correct viewport sizing and dynamic chrome calculation #16

Merged
lerko merged 1 commits from fix/tui-viewport-sizing into main 2026-05-22 22:22:10 +00:00
Owner

Summary

  • Replace hardcoded -12 row offset with counted chrome lines (10, +1 when filter active)
  • Fix log viewport width (-4 padding) and height (-8 instead of -6)

Test plan

  • Resize terminal — table rows fill available space without overflow
  • Toggle filter — row count adjusts for filter bar
  • Check Logs tab — viewport fits without clipping
## Summary - Replace hardcoded `-12` row offset with counted chrome lines (10, +1 when filter active) - Fix log viewport width (`-4` padding) and height (`-8` instead of `-6`) ## Test plan - [x] Resize terminal — table rows fill available space without overflow - [x] Toggle filter — row count adjusts for filter bar - [x] Check Logs tab — viewport fits without clipping
lerko added 1 commit 2026-05-22 22:19:54 +00:00
Replace hardcoded row offset with counted chrome lines, account for
filter bar, and fix log viewport dimensions.
lerko merged commit 5de834465f into main 2026-05-22 22:22:10 +00:00
lerko deleted branch fix/tui-viewport-sizing 2026-05-22 22:22:10 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#16