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
When copying long single-line text (e.g. a regex pattern) from a code block in the Superset terminal, the copied text includes unwanted spaces or line breaks where the terminal visually wraps the line.
Steps to reproduce
Have a long single-line string displayed in a code block in the terminal (e.g. a regex pattern)
Select and copy the text from the code block
Paste it into an external application
Expected behavior
The copied text should be the original single-line string with no extra whitespace introduced.
Actual behavior
The pasted text contains spaces or newlines at the points where the terminal wrapped the line for display, making the copied text unusable without manual cleanup.
Workaround
Writing the text to a file and copying from there, or piping to pbcopy via the shell.
Closing as part of the July 2026 stale-issue sweep (no activity since 2026-06-01). If this still reproduces or is still wanted on a current build, please comment and we'll reopen.
Still reproduces in Superset 1.30.0 on macOS arm64. Selecting multiple terminal lines with Cmd+C adds substantial trailing whitespace to each pasted line. This also occurs with ordinary multiline output, not only visually wrapped long lines.
Expected: terminal-added right padding is omitted while intentional whitespace remains preserved. Could this be reopened?
Activity
fix: solve #2896 — code block copying introduces unwanted spaces/line…
Kitenite commentedon Jul 11, 2026
Closing as part of the July 2026 stale-issue sweep (no activity since 2026-06-01). If this still reproduces or is still wanted on a current build, please comment and we'll reopen.
nrutman commentedon Sep 21, 2026
Still reproduces in Superset 1.30.0 on macOS arm64. Selecting multiple terminal lines with Cmd+C adds substantial trailing whitespace to each pasted line. This also occurs with ordinary multiline output, not only visually wrapped long lines.
Expected: terminal-added right padding is omitted while intentional whitespace remains preserved. Could this be reopened?
nrutman commentedon Sep 21, 2026
@Kitenite can we re-open this so it gets fixed?
Kitenite commentedon Sep 21, 2026
Hello yes reopened :)
nrutman commentedon Sep 21, 2026
Thank you! And I think my PR (#7709) solves the issue. I loaded the local app off of that branch and the copy/paste was clean! 🎉
Kitenite commentedon Sep 21, 2026
taking a look, thank you!