(name: string)
| 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). */ |
| 134 | export 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 |