mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-21 10:16:03 +00:00
fix(tui): disable session bindings during prompts
This commit is contained in:
@@ -802,6 +802,7 @@ export function Session() {
|
||||
|
||||
useBindings(() => ({
|
||||
mode: OPENCODE_BASE_MODE,
|
||||
enabled: () => !disabled(),
|
||||
bindings: [...baseAndUnfocusedCommands, ...baseCommands()].flatMap((command) => config.keybinds.get(command.name)),
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user