mirror of
https://github.com/alexpasmantier/television.git
synced 2025-07-29 14:21:43 +00:00

## 📺 PR Description Solves #609 - The calculation of available_height for the Inline and Fixed mode were updated to correctly account for the remaining space and the necessary height needed for the TUI - QoL: Refactored the viewport calculation logic for both Inline and Fixed modes to use a shared scrolling function (handle_viewport_scrolling). - Docs: Added note about default minimum height ## Checklist - [x] my commits **and PR title** follow the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) format - [x] if this is a new feature, I have added tests to consolidate the feature and prevent regressions - [ ] if this is a bug fix, I have added a test that reproduces the bug (if applicable) - [x] I have added a reasonable amount of documentation to the code where appropriate