mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-06 01:14:52 +01:00
fix(tui): too early
This commit is contained in:
@@ -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"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user