mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 18:24:21 +01:00
fix: permissions not responding to esc
This commit is contained in:
@@ -120,6 +120,7 @@ export function Session() {
|
|||||||
if (evt.name === "return") return "once"
|
if (evt.name === "return") return "once"
|
||||||
if (evt.name === "a") return "always"
|
if (evt.name === "a") return "always"
|
||||||
if (evt.name === "d") return "reject"
|
if (evt.name === "d") return "reject"
|
||||||
|
if (evt.name === "escape") return "reject"
|
||||||
return
|
return
|
||||||
})
|
})
|
||||||
if (response) {
|
if (response) {
|
||||||
|
|||||||
Reference in New Issue
Block a user