canonical / craft-cli

https://canonical-craft-cli.readthedocs-hosted.com/en/latest/
GNU Lesser General Public License v3.0
9 stars 15 forks source link

Remove trailing spaces before new line #136

Closed cmatsuoka closed 3 days ago

cmatsuoka commented 1 year ago

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
syncronize-issues-to-jira[bot] commented 6 days ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3358.

This message was autogenerated