← Back to issue list

Remove trailing spaces before new line

View original Github issue

Metadata

Project
craft-cli
Number
#136
Type
issue
State
closed
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Craft-CLI output now removes trailing spaces where supported, fixing copy-and-paste padding in PR #210 (commit c62ce3a).

Resolution: closed resolved

Reason: The padding problem was fixed by commit c62ce3a, titled "fix: remove trailing spaces where supported," and associated with PR #210.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Craft-CLI messages are padded with spaces to fill the entire terminal width. This causes problems when copying and pasting output because the spaces are also copied. Example: ``` $ snapcraft Launching instance... <-- ends here Executed: repull my-part ('source' property changed) <-- ends here Executed: overlay my-part <-- ends here Executed: build my-part Executed: stage my-part Executed: prime my-part Executed parts lifecycle Generated snap metadata Created snap package my-snap-name_0.1_amd64.snap ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Craft-CLI output now removes trailing spaces where supported, fixing copy-and-paste padding in PR #210 (commit c62ce3a).
stealth/space-bunny-alpha — closed stale Closed with no documented code fix; the only recorded follow-up linked internal ticket CRAFT-3358.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The trailing spaces issue was synced to internal Jira ticket CRAFT-3358 but received no code changes and appears abandoned.
qwen/qwen3.6-35b-a3b — — Closed and superseded by internal Jira ticket CRAFT-3358. No code changes were implemented to address the trailing space padding issue.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Deferred to internal Jira ticket CRAFT-3358. The trailing space padding issue remains unfixed and continues to cause copy-paste problems.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-cli#210 (confidence 99%)

    The commit title and issue directly match removal of output-padding spaces.

Related issues

Issue Project State Summary Similarity
#210 fix: remove trailing spaces where supported craft-cli merged Merged as c62ce3a; the printer now removes trailing spaces before line breaks on supported terminals, fixing #136 (CRAFT-3358).
74%