MCPcopy Create free account
hub / github.com/anomalyco/opencode / clearSelection

Function clearSelection

packages/tui/src/context/editor.ts:331–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329 return store.selection
330 },
331 clearSelection() {
332 lastZedSelectionKey = undefined
333 zedSelection = undefined
334 setSelection(undefined)
335 },
336 preserveSelectionFromNewSession() {
337 preserveSelectionOnReconnect = true
338 },

Callers

nothing calls this directly

Calls 1

setSelectionFunction · 0.70

Tested by

no test coverage detected