Progress bar
Systems may support to overlay icons, particularly taskbar icons, with a progress indication. Terminals may support control of the progress bar explicitly, or implicitly as requested in https://github.com/mintty/wsltty/issues/202.
I have implemented this as an experimental feature for mintty, described as follows:
Progress bar
A progress indication on the taskbar icon can be switched or controlled with this escape sequence. With a second parameter, the progress value can be controlled explicitly. With only one parameter, automatic progress detection is enabled, scanning the current cursor line for a final percentage indication. Note that automatic progress bar can also be configured.
sequence | comment |
---|---|
^[[0%q |
disable progress indication |
^[[1%q |
enable progress indication level 1 (green) |
^[[2%q |
enable progress indication level 2 (yellow) |
^[[3%q |
enable progress indication level 3 (red) |
^[[ _level_; _percent_%q
|
set progress level and value |