fix(tui): visual tweaks to themes

This commit is contained in:
adamdottv
2025-06-20 15:49:51 -05:00
parent ef3fd5900f
commit 9081e17fcc
2 changed files with 2 additions and 2 deletions

View File

@@ -89,8 +89,8 @@ func (t *themeDialog) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
if item, newIdx := t.list.GetSelectedItem(); newIdx >= 0 && newIdx != prevIdx {
theme.SetTheme(item.name)
return t, util.CmdHandler(ThemeSelectedMsg{ThemeName: item.name})
}
return t, cmd
}

View File

@@ -114,7 +114,7 @@ func (m *Modal) Render(contentView string, background string) string {
titleLine := m.title + spacer + escText
titleLine = titleStyle.Render(titleLine)
finalContent = strings.Join([]string{titleLine, contentView}, "\n") + "\n"
finalContent = strings.Join([]string{titleLine, "", contentView}, "\n")
} else {
finalContent = contentView
}