Skip to content

Commit 358a7aa

Browse files
committed
Cmd+P to open the file picker, followed by Esc to close it also interrupts the agent
1 parent 7864b43 commit 358a7aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/twig/src/renderer/features/command/components/FilePicker.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export function FilePicker({
8080
align="center"
8181
sideOffset={0}
8282
onInteractOutside={() => handleOpenChange(false)}
83+
onEscapeKeyDown={(e) => e.stopPropagation()}
8384
>
8485
<Command.Root shouldFilter={false} label="File picker" key={resultsKey}>
8586
<Command.Input

0 commit comments

Comments
 (0)