MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / consume

Function consume

packages/app-core/src/components/QuickNotesView.tsx:118–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 const seq = (id: Parameters<typeof matchesSequenceToken>[2]): boolean =>
117 vimMode && matchesSequenceToken(e, overrides, id)
118 const consume = (): void => {
119 e.preventDefault()
120 e.stopImmediatePropagation()
121 }
122
123 if (key === 'Escape') {
124 if (filter) {

Callers 1

handlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected