opencode
opencode copied to clipboard
TUI: Commands modal passes `Esc` key 'through to the model
Description
When I close the commands modal, the Esc keypress also interacts with permission prompts
Plugins
No response
OpenCode version
1.1.7
Steps to reproduce
- Get the model to prompt you for permission to do something (prompt:
Run 'ls' here) - Open the commands modal: ctrl-p
- Press
Esckey - Observe that the permission request has been cancelled, and the model (usually?) behaves as if it was rejected.
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response