summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal/app
diff options
context:
space:
mode:
authorAdi Yeroslav <[email protected]>2025-07-10 13:57:52 +0300
committerGitHub <[email protected]>2025-07-10 05:57:52 -0500
commita1701678cdde92117c085dcdf6bf5629b576e689 (patch)
tree345bc5533d11aaa964a2baf5633331724ffd50d0 /packages/tui/internal/app
parentc411a26d6fbc4bd785ca001c529bc67c97a0a1bc (diff)
downloadopencode-a1701678cdde92117c085dcdf6bf5629b576e689.tar.gz
opencode-a1701678cdde92117c085dcdf6bf5629b576e689.zip
feat(tui): /editor - change the auto-send behavior to put content in input box instead (#827)
Diffstat (limited to 'packages/tui/internal/app')
-rw-r--r--packages/tui/internal/app/app.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/tui/internal/app/app.go b/packages/tui/internal/app/app.go
index a70b3ca64..bd16036af 100644
--- a/packages/tui/internal/app/app.go
+++ b/packages/tui/internal/app/app.go
@@ -50,6 +50,9 @@ type SendMsg struct {
Text string
Attachments []opencode.FilePartParam
}
+type SetEditorContentMsg struct {
+ Text string
+}
type OptimisticMessageAddedMsg struct {
Message opencode.MessageUnion
}