You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/copy fails with Failed to copy session transcript when a session transcript includes NUL characters from shell output. OpenTUI rejects clipboard text containing NUL characters before it reaches an otherwise healthy host clipboard.
OpenCode version
0.0.0-beta-17898
Steps to reproduce
Create a session with shell tool output containing NUL characters.
Run /copy in that session.
Observe the error toast and unchanged clipboard.
Expected: the supported transcript text is copied after omitting NUL characters.
Actual: the entire clipboard write fails with Failed to copy session transcript.
Description
/copyfails withFailed to copy session transcriptwhen a session transcript includes NUL characters from shell output. OpenTUI rejects clipboard text containing NUL characters before it reaches an otherwise healthy host clipboard.OpenCode version
0.0.0-beta-17898
Steps to reproduce
/copyin that session.Expected: the supported transcript text is copied after omitting NUL characters.
Actual: the entire clipboard write fails with
Failed to copy session transcript.Screenshot and/or share link
Screen.Recording.2026-08-22.at.4.44.08.PM.mov
Operating System
macOS (Darwin 25.6.0, arm64)
Terminal
Ghostty 1.3.1