wip: tui api

pull/1239/head
Dax Raad 2025-07-22 13:05:50 -04:00
parent 13def91e9a
commit 7998c3b5ce
1 changed files with 1 additions and 2 deletions

View File

@ -511,8 +511,7 @@ func (a Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
a.modal = helpDialog
case "/tui/append-prompt":
var body struct {
Text string `json:"text"`
Parts []opencode.Part `json:"parts"`
Text string `json:"text"`
}
json.Unmarshal((msg.Body), &body)
existing := a.editor.Value()