Made the progress bar more visible.
- The underline was too subtle sometimes, depending on the terminal type.
This commit is contained in:
parent
e34e896800
commit
10fbc33759
2 changed files with 3 additions and 2 deletions
|
|
@ -57,4 +57,4 @@
|
|||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
(B[m[38;2;255;255;255m[48;2;0;0;0m[4m (B[m[38;2;0;255;0m[48;2;0;0;0m[4mh(B[m[38;2;255;255;255m[48;2;0;0;0m[4melp (B[m[38;2;0;255;0m[48;2;0;0;0m[4mq(B[m[38;2;255;255;255m[48;2;0;0;0m[4muit (B[m[38;2;0;255;0m[48;2;0;0;0m[4mtab(B[m[38;2;255;255;255m[48;2;0;0;0m[4m:focus (B[m[38;2;0;255;0m[48;2;0;0;0m[4mt(B[m[38;2;255;255;255m[48;2;0;0;0m[4murn (B[m[38;2;0;255;0m[48;2;0;0;0m[4ml(B[m[38;2;255;255;255m[48;2;0;0;0m[4mog (B[m[38;2;0;255;0m[48;2;0;0;0m[4me(B[m[38;2;255;255;255m[48;2;0;0;0m[4mdit (B[m[38;2;0;255;0m[48;2;0;0;0m[4mn(B[m[38;2;255;255;255m[48;2;0;0;0m[4mext (B[m[38;2;0;255;0m[48;2;0;0;0m[4mp(B[m[38;2;255;255;255m[48;2;0;0;0m[4mause (B[m[38;2;0;255;0m[48;2;0;0;0m[4mo(B[m[38;2;255;255;255m[48;2;0;0;0m[4mrder (B[m[38;2;0;255;0m[48;2;0;0;0m[4mr(B[m[38;2;255;255;255m[48;2;0;0;0m[4mefresh (B[m[38;2;0;255;0m[48;2;0;0;0m[4mf(B[m[38;2;255;255;255m[48;2;0;0;0m[4mullscreen (B[m[38;2;90;90;255m[48;2;0;0;0m[4mrunning(B[m[38;2;255;255;255m[48;2;0;0;0m[4m order:directory (B[m
|
||||
(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;90;90;255m[48;2;100;100;100mrunning(B[m[38;2;255;255;255m[48;2;100;100;100m order:directory (B[m
|
||||
|
|
@ -885,7 +885,8 @@ class Screen:
|
|||
spacing = " " * (width - len(self._STATUS_BAR) - len(indicators))
|
||||
bar = (self._STATUS_BAR[:width - len(indicators)] + spacing +
|
||||
indicators)[:width]
|
||||
return [bar[:progress_bar_size].underline() + bar[progress_bar_size:]]
|
||||
return [bar[:progress_bar_size].bg_color(termstr.Color.grey_100) +
|
||||
bar[progress_bar_size:]]
|
||||
|
||||
def _get_status_bar(self, width):
|
||||
incomplete = self._summary.result_total - self._summary.completed_total
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue