fix: write the terminal title only when stderr is a terminal #4
Loading…
Reference in a new issue
No description provided.
Delete branch "runa/claudia:fix/title-only-on-tty"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
claudia promptunder a systemd unit or a pipe wrote the OSC title sequence to stderr, so a caller reading stderr back as the error got\e]0;claudia: default\aglued to the front of the first line.Verified with
systemd-run --user --pipe ... exec -- true: the current binary emits the escape, the patched one does not. Interactive launches are unchanged.Found while moving runa's IRC and loop runs from
claude -ptoclaudia prompt; headless prompt,--session-id/--resumepassthrough and memory preload already work as-is.