← Back to issue list

Allow to show the current progress in the window titlebar

View original Github issue

Metadata

Project
craft-cli
Number
#159
Type
issue
State
open
Author
sergio-costas
Labels
Created
2023-06-21 14:54:39+00:00
Updated
2023-06-21 18:17:23+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When building a snap with several parts using -v, it's usually not possible to know which part is being built due to the long text output. An idea (with a much-to-be-desired proposal here: https://github.com/snapcore/snapcraft/pull/4217 ) would be to allow to show the progress text in the window titlebar, by using the ANSI codes for that. A proposal would be to add a new boolean named parameter to the `progress` method, that, when set to True, will not only show the string in the screen, but also set it as the window title. These are some ideas for that named parameter: - update_titlebar - set_titlebar - set_on_titlebar - titlebar - on_titlebar - copy_on_titlebar - dup_on_titlebar

Evaluation history

No evaluation history available.