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
{{ message }}
Repository navigation
Copying in the CLI app broken under GNU screen #26491
When trying to copy text under GNU screen, instead of the text ending up in the clipboard, the base64 encoded selection gets printed to the terminal. This seems to be caused by opencode using tmux OSC52 passthrough even when STY is set. STY indicates GNU screen, which requires ESC P ESC ] 52 ; c ; ... BEL ESC \ instead of ESC P tmux; ESC ESC ] 52 ; c ; ... BEL ESC \.
Activity
github-actions commentedon May 9, 2026
This issue might be a duplicate of existing issues. Please check:
STY/TMUXenv var detection and OSC52 DCS passthrough envelope inclipboard.tsvaldemardi commentedon May 16, 2026
Any chance of getting this fixed? If not, I'll close the pr and this issue and move from using screen to tmux instead.
valdemardi commentedon May 16, 2026
There's a ready-to-go fix in the linked pr for this real issue. Copy-paste can not currently work inside gnu screen.
However, I see you have so many issues coming in that this one is probably just noise, so I'll close this for now.
Anyway, please keep up the good work of managing the project.
Cheers