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

Function sgrWheel

src/ink/selectionDragAutoscrollFlicker.test.tsx:146–152  ·  view source on GitHub ↗
(
  direction: 'up' | 'down',
  col: number,
  row: number,
)

Source from the content-addressed store, hash-verified

144}
145
146function sgrWheel(
147 direction: 'up' | 'down',
148 col: number,
149 row: number,
150): string {
151 return sgrMouse(direction === 'up' ? 64 : 65, col, row, 'press')
152}
153
154async function writeInput(stdin: FakeInput, sequence: string): Promise<void> {
155 stdin.write(sequence)

Calls 1

sgrMouseFunction · 0.70

Tested by

no test coverage detected