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
Running under WSL, when copying text, BOM is always prepended to any copied text segment #2571
Running under WSL, when copying text, BOM (0xFEFF) is always prepended to any copied text segment.
e.g.
Then that strongly points to a Copilot CLI copy bug.
If it happens:
- only when copying from Copilot CLI output
- regardless of where the selection starts
- and always as a leading zero-width character
then the most likely explanation is that the UI/renderer is placing a hidden U+FEFF/BOM at the start of
copied selections.
So yes — based on what you described, I’d treat this as a bug in Copilot CLI’s copy/export behavior, not
in WSL or Bash.
Affected version
GitHub Copilot CLI 1.0.21.
Steps to reproduce the behavior
Install ubuntu under WSL
Install homebrew
brew install copilot-cli
copilot
Highlight some text output from the copilot app
Right-click
Paste the output into an editor that shows zero-width characters
Hi, this makes the copy feature very hard to use, because you need to always delete a hidden char.
I am also using copilot cli on ubuntu under WSL. I select text and do "ctrl+c" and it says "copied to clipboard".
This appears to be resolved as of GitHub Copilot CLI v1.0.86. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.
Activity
inoa-jboliveira commentedon Apr 14, 2026
Hi, this makes the copy feature very hard to use, because you need to always delete a hidden char.
I am also using copilot cli on ubuntu under WSL. I select text and do "ctrl+c" and it says "copied to clipboard".
copilot-cli-bot commentedon Sep 19, 2026
This appears to be resolved as of GitHub Copilot CLI v1.0.86. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.