fix(tui): disable session bindings during prompts
This commit is contained in:
parent
7a7075d86f
commit
2d17bebdf7
1 changed files with 1 additions and 0 deletions
|
|
@ -802,6 +802,7 @@ export function Session() {
|
||||||
|
|
||||||
useBindings(() => ({
|
useBindings(() => ({
|
||||||
mode: OPENCODE_BASE_MODE,
|
mode: OPENCODE_BASE_MODE,
|
||||||
|
enabled: () => !disabled(),
|
||||||
bindings: [...baseAndUnfocusedCommands, ...baseCommands()].flatMap((command) => config.keybinds.get(command.name)),
|
bindings: [...baseAndUnfocusedCommands, ...baseCommands()].flatMap((command) => config.keybinds.get(command.name)),
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue