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

Function isXtermJsHost

src/ink/render-node-to-output.ts:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27// and drain must agree on terminal detection. TERM_PROGRAM check is the sync
28// fallback; isXtermJs() is the authoritative XTVERSION-probe result.
29function isXtermJsHost(): boolean {
30 return process.env.TERM_PROGRAM === 'vscode' || isXtermJs()
31}
32
33// Per-frame scratch: row bands touched by layout-affecting changes
34// (position/size shifts, hidden nodes, removed children, and scroll-region

Callers 1

renderNodeToOutputFunction · 0.85

Calls 1

isXtermJsFunction · 0.85

Tested by

no test coverage detected