MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / createSelectionState

Function createSelectionState

source code/ink/selection.ts:67–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67export function createSelectionState(): SelectionState {
68 return {
69 anchor: null,
70 focus: null,
71 isDragging: false,
72 anchorSpan: null,
73 scrolledOffAbove: [],
74 scrolledOffBelow: [],
75 scrolledOffAboveSW: [],
76 scrolledOffBelowSW: [],
77 lastPressHadAlt: false,
78 }
79}
80
81export function startSelection(
82 s: SelectionState,

Callers 1

InkClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected