diff options
| author | adamelmore <[email protected]> | 2025-07-21 09:13:57 -0500 |
|---|---|---|
| committer | adamelmore <[email protected]> | 2025-07-21 10:08:25 -0500 |
| commit | c9a40917c2d5d5227b12c9e4a3f2de07463d0398 (patch) | |
| tree | b7bef40c6c0478dafb22ab05922b73c5008e50f4 /packages/tui | |
| parent | 0aa0e740cd7fe41e6bf5fc851f0c2260e9684caf (diff) | |
| download | opencode-c9a40917c2d5d5227b12c9e4a3f2de07463d0398.tar.gz opencode-c9a40917c2d5d5227b12c9e4a3f2de07463d0398.zip | |
feat(tui): disable keybinds
Diffstat (limited to 'packages/tui')
| -rw-r--r-- | packages/tui/internal/commands/command.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/tui/internal/commands/command.go b/packages/tui/internal/commands/command.go index 5a981549a..dde49e824 100644 --- a/packages/tui/internal/commands/command.go +++ b/packages/tui/internal/commands/command.go @@ -349,6 +349,9 @@ func LoadFromConfig(config *opencode.Config) CommandRegistry { continue } if keybind, ok := keybinds[string(command.Name)]; ok && keybind != "" { + if keybind == "none" { + continue + } command.Keybindings = parseBindings(keybind) } registry[command.Name] = command |
