mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-09 02:09:12 +00:00
wip: tui api
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user