Skip to content

Commit 7998c3b

Browse files
committed
wip: tui api
1 parent 13def91 commit 7998c3b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages/tui/internal/tui

packages/tui/internal/tui/tui.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,7 @@ func (a Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
511511
a.modal = helpDialog
512512
case "/tui/append-prompt":
513513
var body struct {
514-
Text string `json:"text"`
515-
Parts []opencode.Part `json:"parts"`
514+
Text string `json:"text"`
516515
}
517516
json.Unmarshal((msg.Body), &body)
518517
existing := a.editor.Value()

0 commit comments

Comments
 (0)