MCPcopy Create free account
hub / github.com/Noumena-Network/code / sgrMouse

Function sgrMouse

src/ink/selectionDragAutoscrollFlicker.test.tsx:137–144  ·  view source on GitHub ↗
(
  button: number,
  col: number,
  row: number,
  action: 'press' | 'release',
)

Source from the content-addressed store, hash-verified

135}
136
137function sgrMouse(
138 button: number,
139 col: number,
140 row: number,
141 action: 'press' | 'release',
142): string {
143 return `\u001b[<${button};${col};${row}${action === 'press' ? 'M' : 'm'}`
144}
145
146function sgrWheel(
147 direction: 'up' | 'down',

Callers 2

sgrWheelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected