MCPcopy Create free account
hub / github.com/arctic-cli/interface / handleKey

Function handleKey

packages/ui/src/components/select-dialog.tsx:37–40  ·  view source on GitHub ↗
(e: KeyboardEvent)

Source from the content-addressed store, hash-verified

35 }
36
37 const handleKey = (e: KeyboardEvent) => {
38 if (e.key === "Escape") return
39 listRef?.onKeyDown(e)
40 }
41
42 const handleOpenChange = (open: boolean) => {
43 if (!open) setFilter("")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected