Closed iilyak closed 5 years ago
The cosmetics which could be used are:
nf-mdi-numeric_9_plus_box_multiple_outline
if having 9+ instead of exact number is acceptable:nf-pl-left_hard_divider: :stash: 5 :nf-ple-flame_thick: :ahead: 8 :nf-ple-flame_thick: :behind: 10 :nf-pl-left_hard_divider:
:nf-pl-left_hard_divider: :stash: 5 :nf-pl-left_soft_divider: :ahead: 8 :nf-pl-left_soft_divider: :behind: 10 :nf-pl-left_hard_divider:
I just released v1.0.4, which fixed this issue. No more than five icons should be displayed at a time.
Thank you very much.
This is mostly a feature request not really a bug. IMO it would be better to use integers to represent number of changes from upstream. I work with codebases which can diverge significantly from upstream. Currently number of stashed changes is represented by
n
stash icons. Wheren
is number of changes (stashes += &icons::get("stash");
). Same goes forahead
andbehind
The problem with this approach is that it takes the screen space. It makes prompt taking few lines for some edge cases. It could be changed to show this info in colored sections like follows: