color escape codes are left open

Bug #1748236 reported by Jordan Christiansen
6
This bug affects 1 person
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.

Tags: ui
Changed in snapcraft:
assignee: nobody → Christian Dywan (kalikiana)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.