mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 10:17:26 +00:00
fix(tui): too early
This commit is contained in:
parent
d7c4faec58
commit
564418f1ff
1 changed files with 2 additions and 4 deletions
|
@ -953,9 +953,9 @@ func (a Model) home() (string, int, int) {
|
|||
)
|
||||
|
||||
// Use limit of 4 for vscode, 6 for others
|
||||
limit := 4
|
||||
limit := 6
|
||||
if util.IsVSCode() {
|
||||
limit = 2
|
||||
limit = 4
|
||||
}
|
||||
|
||||
showVscode := util.IsVSCode()
|
||||
|
@ -987,8 +987,6 @@ func (a Model) home() (string, int, int) {
|
|||
lines = append(lines, cmds)
|
||||
lines = append(lines, "")
|
||||
lines = append(lines, "")
|
||||
lines = append(lines, grok)
|
||||
lines = append(lines, "")
|
||||
|
||||
mainHeight := lipgloss.Height(strings.Join(lines, "\n"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue