MCPcopy
hub / github.com/xtermjs/xterm.js / resetMouseModes

Function resetMouseModes

test/playwright/MouseTracking.test.ts:32–35  ·  view source on GitHub ↗

* Helper functions.

()

Source from the content-addressed store, hash-verified

30 * Helper functions.
31 */
32async function resetMouseModes(): Promise<void> {
33 await ctx.proxy.write('\x1b[?9l\x1b[?1000l\x1b[?1001l\x1b[?1002l\x1b[?1003l');
34 await ctx.proxy.write('\x1b[?1005l\x1b[?1006l\x1b[?1015l');
35}
36
37async function getReports(encoding: string): Promise<any[]> {
38 const reports: any = await ctx.page.evaluate(`window.calls`);

Callers 1

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected