fix(tui): too early

This commit is contained in:
adamdotdevin
2025-08-25 12:04:35 -05:00
parent d7c4faec58
commit 564418f1ff

View File

@@ -953,9 +953,9 @@ func (a Model) home() (string, int, int) {
) )
// Use limit of 4 for vscode, 6 for others // Use limit of 4 for vscode, 6 for others
limit := 4 limit := 6
if util.IsVSCode() { if util.IsVSCode() {
limit = 2 limit = 4
} }
showVscode := util.IsVSCode() showVscode := util.IsVSCode()
@@ -987,8 +987,6 @@ func (a Model) home() (string, int, int) {
lines = append(lines, cmds) lines = append(lines, cmds)
lines = append(lines, "") lines = append(lines, "")
lines = append(lines, "") lines = append(lines, "")
lines = append(lines, grok)
lines = append(lines, "")
mainHeight := lipgloss.Height(strings.Join(lines, "\n")) mainHeight := lipgloss.Height(strings.Join(lines, "\n"))