[x] I didn't find the issue in exsisting issues or prs.
How to reproduce the problem
Default settings
Expected behaviour
The progress component should have a fixed size
Actual behaviour
Progress is 3 chars wide for Top, Bot, 10% up to 99%, except between 1% and 9%.
This makes the component change size, which affect the position of other components on the lualine.
This "jumping" is distracting when scrolling.
Aditional information
This can be fixed by changing lua/lualine/components/progress.lua and change line 11 to something like
return string.format('%2d%%%%', math.floor(cur / total * 100))
Self Checks
How to reproduce the problem
Default settings
Expected behaviour
The progress component should have a fixed size
Actual behaviour
Progress is 3 chars wide for Top, Bot, 10% up to 99%, except between 1% and 9%. This makes the component change size, which affect the position of other components on the lualine. This "jumping" is distracting when scrolling.
Aditional information
This can be fixed by changing
lua/lualine/components/progress.lua
and change line 11 to something like