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

Function setXtversionName

src/ink/terminal.ts:134–136  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

132/** Record the XTVERSION response. Called once from App.tsx when the reply
133 * arrives on stdin. No-op if already set (defend against re-probe). */
134export function setXtversionName(name: string): void {
135 if (xtversionName === undefined) xtversionName = name
136}
137
138/** True if running in an xterm.js-based terminal (VS Code, Cursor, Windsurf
139 * integrated terminals). Combines TERM_PROGRAM env check (fast, sync, but

Callers 1

AppClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected