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
fix: trim trailing whitespace from terminal clipboard copies
Fixes#2778. xterm.js getSelection() returns lines padded to the full
terminal column width, resulting in hundreds of trailing spaces when
pasting into external apps.
Adds a term:trimtrailingwhitespace setting (default true) that strips
trailing whitespace from each line before writing to the clipboard.
Applies to all three copy paths: copy-on-select, Ctrl+Shift+C, and
right-click Copy.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments