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

Function xtversion

src/ink/terminal-querier.ts:108–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 * so it identifies the *client* terminal even when TERM_PROGRAM isn't
107 * forwarded. Used to detect xterm.js for wheel-scroll compensation. */
108export function xtversion(): TerminalQuery<XtversionResponse> {
109 return {
110 request: csi('>0q'),
111 match: (r): r is XtversionResponse => r.type === 'xtversion',
112 }
113}
114
115// -- Querier --
116

Callers 1

AppClass · 0.85

Calls 1

csiFunction · 0.85

Tested by

no test coverage detected