diff options
| author | adamdottv <[email protected]> | 2025-05-01 06:26:20 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-01 06:26:20 -0500 |
| commit | d08e58279db42b9892ad32e0fd8cdf086b4027d5 (patch) | |
| tree | e1f4b40f6afebfa46eaef6c863cc7d4d5ff1a4c6 /internal/tui | |
| parent | 7bc542abff85d18112b3e61556659a496d6dc668 (diff) | |
| download | opencode-d08e58279db42b9892ad32e0fd8cdf086b4027d5.tar.gz opencode-d08e58279db42b9892ad32e0fd8cdf086b4027d5.zip | |
feat: lsp discovery
Diffstat (limited to 'internal/tui')
| -rw-r--r-- | internal/tui/tui.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/internal/tui/tui.go b/internal/tui/tui.go index ff343b75a..cfaa78170 100644 --- a/internal/tui/tui.go +++ b/internal/tui/tui.go @@ -56,8 +56,8 @@ var keys = keyMap{ ), Models: key.NewBinding( - key.WithKeys("ctrl+m"), - key.WithHelp("ctrl+m", "model selection"), + key.WithKeys("ctrl+o"), + key.WithHelp("ctrl+o", "model selection"), ), SwitchTheme: key.NewBinding( @@ -385,10 +385,8 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } return a, nil case key.Matches(msg, keys.SwitchTheme): - if !a.showQuit && !a.showPermissions && !a.showSessionDialog && !a.showCommandDialog { - // Show theme switcher dialog + if a.currentPage == page.ChatPage && !a.showQuit && !a.showPermissions && !a.showSessionDialog && !a.showCommandDialog { a.showThemeDialog = true - // Theme list is dynamically loaded by the dialog component return a, a.themeDialog.Init() } return a, nil |
