mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 02:07:24 +00:00
parent
11de2e59f3
commit
e73a7c23d0
1 changed files with 4 additions and 2 deletions
|
@ -953,9 +953,9 @@ func (a Model) home() (string, int, int) {
|
|||
)
|
||||
|
||||
// Use limit of 4 for vscode, 6 for others
|
||||
limit := 6
|
||||
limit := 4
|
||||
if util.IsVSCode() {
|
||||
limit = 4
|
||||
limit = 2
|
||||
}
|
||||
|
||||
showVscode := util.IsVSCode()
|
||||
|
@ -987,6 +987,8 @@ 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