Highlight the progress bar differently.
This commit is contained in:
parent
6a0bacc805
commit
fedc10692f
2 changed files with 2 additions and 2 deletions
|
|
@ -57,4 +57,4 @@
|
||||||
│ │
|
│ │
|
||||||
│ │
|
│ │
|
||||||
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
|
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||||
(B[m[38;2;255;255;255m[48;2;100;100;100m (B[m[38;2;0;255;0m[48;2;100;100;100mh(B[m[38;2;255;255;255m[48;2;100;100;100melp (B[m[38;2;0;255;0m[48;2;100;100;100mq(B[m[38;2;255;255;255m[48;2;100;100;100muit (B[m[38;2;0;255;0m[48;2;100;100;100mtab(B[m[38;2;255;255;255m[48;2;100;100;100m:focus (B[m[38;2;0;255;0m[48;2;100;100;100mt(B[m[38;2;255;255;255m[48;2;100;100;100murn (B[m[38;2;0;255;0m[48;2;100;100;100ml(B[m[38;2;255;255;255m[48;2;100;100;100mog (B[m[38;2;0;255;0m[48;2;100;100;100me(B[m[38;2;255;255;255m[48;2;100;100;100mdit (B[m[38;2;0;255;0m[48;2;100;100;100mn(B[m[38;2;255;255;255m[48;2;100;100;100mext (B[m[38;2;0;255;0m[48;2;100;100;100mp(B[m[38;2;255;255;255m[48;2;100;100;100mause (B[m[38;2;0;255;0m[48;2;100;100;100mo(B[m[38;2;255;255;255m[48;2;100;100;100mrder (B[m[38;2;0;255;0m[48;2;100;100;100mr(B[m[38;2;255;255;255m[48;2;100;100;100mefresh (B[m[38;2;0;255;0m[48;2;100;100;100mf(B[m[38;2;255;255;255m[48;2;100;100;100mullscreen (B[m[38;2;0;135;189m[48;2;100;100;100mrunning(B[m[38;2;255;255;255m[48;2;100;100;100m order:directory (B[m
|
(B[m[38;2;255;255;255m[48;2;76;76;76m (B[m[38;2;76;255;76m[48;2;76;76;76mh(B[m[38;2;255;255;255m[48;2;76;76;76melp (B[m[38;2;76;255;76m[48;2;76;76;76mq(B[m[38;2;255;255;255m[48;2;76;76;76muit (B[m[38;2;76;255;76m[48;2;76;76;76mtab(B[m[38;2;255;255;255m[48;2;76;76;76m:focus (B[m[38;2;76;255;76m[48;2;76;76;76mt(B[m[38;2;255;255;255m[48;2;76;76;76murn (B[m[38;2;76;255;76m[48;2;76;76;76ml(B[m[38;2;255;255;255m[48;2;76;76;76mog (B[m[38;2;76;255;76m[48;2;76;76;76me(B[m[38;2;255;255;255m[48;2;76;76;76mdit (B[m[38;2;76;255;76m[48;2;76;76;76mn(B[m[38;2;255;255;255m[48;2;76;76;76mext (B[m[38;2;76;255;76m[48;2;76;76;76mp(B[m[38;2;255;255;255m[48;2;76;76;76mause (B[m[38;2;76;255;76m[48;2;76;76;76mo(B[m[38;2;255;255;255m[48;2;76;76;76mrder (B[m[38;2;76;255;76m[48;2;76;76;76mr(B[m[38;2;255;255;255m[48;2;76;76;76mefresh (B[m[38;2;76;255;76m[48;2;76;76;76mf(B[m[38;2;255;255;255m[48;2;76;76;76mullscreen (B[m[38;2;76;171;208m[48;2;76;76;76mrunning(B[m[38;2;255;255;255m[48;2;76;76;76m order:directory (B[m
|
||||||
|
|
@ -898,7 +898,7 @@ class Screen:
|
||||||
spacing = " " * (width - len(self._STATUS_BAR) - len(indicators))
|
spacing = " " * (width - len(self._STATUS_BAR) - len(indicators))
|
||||||
bar = (self._STATUS_BAR[:width - len(indicators)] + spacing +
|
bar = (self._STATUS_BAR[:width - len(indicators)] + spacing +
|
||||||
indicators)[:width]
|
indicators)[:width]
|
||||||
return [bar[:progress_bar_size].bg_color(termstr.Color.grey_100) +
|
return [highlight_str(bar[:progress_bar_size], termstr.Color.white, 0.7) +
|
||||||
bar[progress_bar_size:]]
|
bar[progress_bar_size:]]
|
||||||
|
|
||||||
def _get_status_bar(self, width):
|
def _get_status_bar(self, width):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue