feat: implement dynamic table sizing based on available terminal space

This commit is contained in:
2025-09-03 09:58:53 +02:00
parent 959c084466
commit 8f2837db78
4 changed files with 125 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ func (m Model) renderListView() string {
components = append(components, m.styles.Header.Render(asciiTitle))
// Add the search bar with the appropriate style based on focus
searchPrompt := "Search (/ to focus, Tab to switch): "
searchPrompt := "Search (/ to focus): "
if m.searchMode {
components = append(components, m.styles.SearchFocused.Render(searchPrompt+m.searchInput.View()))
} else {