summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal/app
diff options
context:
space:
mode:
authoradamdotdevin <[email protected]>2025-07-10 12:57:22 -0500
committeradamdotdevin <[email protected]>2025-07-10 12:57:22 -0500
commit54fe3504baa1a52a55898ceb1cd87c0a5424cd8d (patch)
treec75040078595d6144a7e71d29ef8e6fe03b5ad1f /packages/tui/internal/app
parentd2c862e32d8f2a6276ef58591fcafde22aee50a5 (diff)
downloadopencode-54fe3504baa1a52a55898ceb1cd87c0a5424cd8d.tar.gz
opencode-54fe3504baa1a52a55898ceb1cd87c0a5424cd8d.zip
feat(tui): accent editor border on leader key
Diffstat (limited to 'packages/tui/internal/app')
-rw-r--r--packages/tui/internal/app/app.go39
1 files changed, 20 insertions, 19 deletions
diff --git a/packages/tui/internal/app/app.go b/packages/tui/internal/app/app.go
index cb54aa940..03eb361b7 100644
--- a/packages/tui/internal/app/app.go
+++ b/packages/tui/internal/app/app.go
@@ -22,25 +22,26 @@ import (
)
type App struct {
- Info opencode.App
- Modes []opencode.Mode
- Providers []opencode.Provider
- Version string
- StatePath string
- Config *opencode.Config
- Client *opencode.Client
- State *config.State
- ModeIndex int
- Mode *opencode.Mode
- Provider *opencode.Provider
- Model *opencode.Model
- Session *opencode.Session
- Messages []opencode.MessageUnion
- Commands commands.CommandRegistry
- InitialModel *string
- InitialPrompt *string
- IntitialMode *string
- compactCancel context.CancelFunc
+ Info opencode.App
+ Modes []opencode.Mode
+ Providers []opencode.Provider
+ Version string
+ StatePath string
+ Config *opencode.Config
+ Client *opencode.Client
+ State *config.State
+ ModeIndex int
+ Mode *opencode.Mode
+ Provider *opencode.Provider
+ Model *opencode.Model
+ Session *opencode.Session
+ Messages []opencode.MessageUnion
+ Commands commands.CommandRegistry
+ InitialModel *string
+ InitialPrompt *string
+ IntitialMode *string
+ compactCancel context.CancelFunc
+ IsLeaderSequence bool
}
type SessionSelectedMsg = *opencode.Session