.agents/skills/project-knowledge/references/terminal.md
ConptyConnection::_indicateExitWithStatus) - visibility is
a render/close race, never omp output.wt.exe <commandline> never auto-close under closeOnExit=automatic;
profile-launched tabs do.exit.& call operator mangles UTF-8 program output
(U+E0B6 becomes U+03B5). Reading a native program's UTF-8 output reliably requires
[Console]::OutputEncoding = UTF8 or the Process API.| Set-Content -NoNewline joins piped lines into ONE line and corrupts scripts -
write files with Git Bash redirection when byte fidelity matters.terminal-dimensions runs stty size against the renderer's stdin. Claude Code sends
statusline JSON over that stdin, so it is not a TTY. A valid COLUMNS fallback must replace the
resulting stty error; returning a non-zero width with the stale error makes
prompt.Engine.canWriteRightBlock reject ordinary right-aligned blocks (verified 2026-08-03).