MCPcopy
hub / github.com/anomalyco/opencode / handleContextMenu

Function handleContextMenu

packages/console/app/src/component/header.tsx:54–57  ·  view source on GitHub ↗
(event: MouseEvent)

Source from the content-addressed store, hash-verified

52 }
53
54 const handleContextMenu = (event: MouseEvent) => {
55 event.preventDefault()
56 setStore("contextMenuOpen", false)
57 }
58
59 const handleKeyDown = (event: KeyboardEvent) => {
60 if (event.key === "Escape") {

Callers

nothing calls this directly

Calls 1

setStoreFunction · 0.85

Tested by

no test coverage detected