mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-26 19:24:57 +01:00
core: enable reasoning.encrypted_content and reasoningSummary for opencode provider\ntui: adjust editorY position calculation
This commit is contained in:
@@ -967,7 +967,6 @@ func (a Model) home() (string, int, int) {
|
||||
█░░░ █░░█ █░░█ █▀▀▀
|
||||
▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀`
|
||||
|
||||
|
||||
logo := lipgloss.JoinHorizontal(
|
||||
lipgloss.Top,
|
||||
muted(open),
|
||||
@@ -1043,7 +1042,7 @@ func (a Model) home() (string, int, int) {
|
||||
)
|
||||
|
||||
editorX := max(0, (effectiveWidth-editorWidth)/2)
|
||||
editorY := (a.height / 2) + (mainHeight / 2) - 2
|
||||
editorY := (a.height / 2) + (mainHeight / 2) - 3
|
||||
|
||||
if editorLines > 1 {
|
||||
content := a.editor.Content()
|
||||
|
||||
Reference in New Issue
Block a user