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

Function sgrMouse

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

Source from the content-addressed store, hash-verified

37const TRANSCRIPT_SETTLE_TIMEOUT_MS = 8_000
38
39function sgrMouse(
40 button: number,
41 col: number,
42 row: number,
43 action: 'press' | 'release',
44): string {
45 return `\u001b[<${button};${col};${row}${action === 'press' ? 'M' : 'm'}`
46}
47
48afterEach(async () => {
49 await cleanupMountedRepl()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected