summaryrefslogtreecommitdiffhomepage
path: root/internal/tui/state
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-28 12:35:20 -0500
committeradamdottv <[email protected]>2025-05-28 15:36:35 -0500
commit15d21bf04acd6af75df97918f66df866c239b248 (patch)
tree16ac93b0c686faaf3b21700771b082b6bc26f098 /internal/tui/state
parent5e738ce7d3b66b88a407a1bcc53a5169d0f4a904 (diff)
downloadopencode-15d21bf04acd6af75df97918f66df866c239b248.tar.gz
opencode-15d21bf04acd6af75df97918f66df866c239b248.zip
wip: refactoring tui
Diffstat (limited to 'internal/tui/state')
-rw-r--r--internal/tui/state/state.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/tui/state/state.go b/internal/tui/state/state.go
index 83745d6f7..d2125b930 100644
--- a/internal/tui/state/state.go
+++ b/internal/tui/state/state.go
@@ -5,3 +5,6 @@ import "github.com/sst/opencode/internal/session"
type SessionSelectedMsg = *session.Session
type SessionClearedMsg struct{}
type CompactSessionMsg struct{}
+type StateUpdatedMsg struct {
+ State map[string]any
+}