color escape codes are left open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Cris Dywan |
Bug Description
When snapcraft is doing the actual snapping step and the progress spinner is animating, the green color terminal escape codes are left "open". That is, there is a "begin green color" escape code, but no "end color" code. The "end color" code isn't added until after snapping completes.
This has a problem: if you stop, interrupt, or kill snapcraft during the snapping process, your terminal stays green (including your prompt, anything you type, and the output of all commands) until you somehow insert the correct escape code to stop color.
During the snap step, snapcraft should add the "end color" escape code to the end of every print statement so that, no matter when in the process it gets interrupted, the color is left turned off after snapcraft runs.
Changed in snapcraft: | |
assignee: | nobody → Christian Dywan (kalikiana) |