You signed in with another tab or
8000
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
Root cause: ConPTY (the Windows console backend) repaints each line padded to the full terminal width with real space characters, so xterm's selection API returns them verbatim — it can't tell a typed space from pad cells. Windows Terminal trims line-end whitespace on copy for exactly this reason; wmux now does the same on both copy paths (Ctrl+C in the terminal and the copy shortcut). Indentation and interior spacing are untouched — only trailing spaces/tabs per line are stripped.
Grab the new build from the release page (or auto-update when available) and pasting into Notepad++ should be clean. 🙏
Activity
amirlehmam commentedon Jul 18, 2026
Fixed in v0.27.1 — thanks for the clear report!
Root cause: ConPTY (the Windows console backend) repaints each line padded to the full terminal width with real space characters, so xterm's selection API returns them verbatim — it can't tell a typed space from pad cells. Windows Terminal trims line-end whitespace on copy for exactly this reason; wmux now does the same on both copy paths (Ctrl+C in the terminal and the copy shortcut). Indentation and interior spacing are untouched — only trailing spaces/tabs per line are stripped.
Grab the new build from the release page (or auto-update when available) and pasting into Notepad++ should be clean. 🙏
fix(terminal): trim ConPTY pad spaces from copied selections (fixes a…
feat(terminal): right-click copies the selection or pastes (#336)