MCPcopy Index your code
hub / github.com/codeaashu/claude-code / finishSelection

Function finishSelection

src/ink/selection.ts:116–120  ·  view source on GitHub ↗
(s: SelectionState)

Source from the content-addressed store, hash-verified

114}
115
116export function finishSelection(s: SelectionState): void {
117 s.isDragging = false
118 // Keep anchor/focus so highlight stays visible and text can be copied.
119 // Clear via clearSelection() on Esc or after copy.
120}
121
122export function clearSelection(s: SelectionState): void {
123 s.anchor = null

Callers 2

processKeysInBatchFunction · 0.85
handleMouseEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected