feat: remove legacy configuration

This commit is contained in:
leonardotrapani
2026-02-01 23:09:33 +01:00
parent 500b84caec
commit 2729882b9d
20 changed files with 272 additions and 622 deletions
+2 -1
View File
@@ -48,7 +48,8 @@ func (s *listScreen) Init() tea.Cmd {
func (s *listScreen) Update(msg tea.Msg) (screen, tea.Cmd) {
switch msg := msg.(type) {
case tea.WindowSizeMsg:
s.list.SetSize(msg.Width-4, msg.Height-8)
extraFooterLines := strings.Count(s.footer, "\n")
s.list.SetSize(msg.Width-4, msg.Height-8-extraFooterLines)
case tea.KeyMsg:
switch msg.String() {
case "enter":