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

Function createSelectionState

src/ink/selection.ts:65–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

InkClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected