Merge 144ebbcb34 into ae614d919f
commit
e4fbfc6a4a
|
|
@ -298,6 +298,13 @@ function App(props: { onSnapshot?: () => Promise<string[]> }) {
|
|||
setReady(true)
|
||||
})
|
||||
|
||||
useKeyboard((evt) => {
|
||||
if (!keybind.match("app_exit", evt)) return
|
||||
const prompt = promptRef.current?.current
|
||||
if (prompt && prompt.input !== "") return
|
||||
exit()
|
||||
})
|
||||
|
||||
useKeyboard((evt) => {
|
||||
if (!Flag.OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT) return
|
||||
const sel = renderer.getSelection()
|
||||
|
|
|
|||
Loading…
Reference in New Issue