Simpler interface details.
- Consistent capitalisation. - No unnecessary colons.
This commit is contained in:
parent
db08b3f465
commit
22bffd6748
2 changed files with 4 additions and 4 deletions
|
|
@ -952,7 +952,7 @@ class Screen:
|
||||||
divider = " " + self._listing.top * 2 + " "
|
divider = " " + self._listing.top * 2 + " "
|
||||||
self._listing.title = (
|
self._listing.title = (
|
||||||
tools.path_colored(widget.path) + divider + tool_name + " " +
|
tools.path_colored(widget.path) + divider + tool_name + " " +
|
||||||
tools.status_to_str(widget.status) + divider + "Line: " + str(y+1))
|
tools.status_to_str(widget.status) + divider + "line " + str(y+1))
|
||||||
|
|
||||||
_STATUS_BAR = highlight_chars(
|
_STATUS_BAR = highlight_chars(
|
||||||
" *help *quit *t*a*b:focus *turn *log *edit *next *pause *order"
|
" *help *quit *t*a*b:focus *turn *log *edit *next *pause *order"
|
||||||
|
|
@ -974,7 +974,7 @@ class Screen:
|
||||||
paused_indicator = (termstr.TermStr(" paused").fg_color(
|
paused_indicator = (termstr.TermStr(" paused").fg_color(
|
||||||
termstr.Color.yellow) if is_paused else termstr.TermStr("running").
|
termstr.Color.yellow) if is_paused else termstr.TermStr("running").
|
||||||
fg_color(termstr.Color.blue))
|
fg_color(termstr.Color.blue))
|
||||||
indicators = " " + paused_indicator + f" order:{ordering_text} "
|
indicators = " " + paused_indicator + f" • {ordering_text} "
|
||||||
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]
|
||||||
|
|
|
||||||
|
|
@ -57,4 +57,4 @@
|
||||||
│ │
|
│ │
|
||||||
│ │
|
│ │
|
||||||
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
|
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||||
[m[38;2;255;255;255m[48;2;76;76;76m [m[38;2;76;255;76m[48;2;76;76;76mh[m[38;2;255;255;255m[48;2;76;76;76melp [m[38;2;76;255;76m[48;2;76;76;76mq[m[38;2;255;255;255m[48;2;76;76;76muit [m[38;2;76;255;76m[48;2;76;76;76mtab[m[38;2;255;255;255m[48;2;76;76;76m:focus [m[38;2;76;255;76m[48;2;76;76;76mt[m[38;2;255;255;255m[48;2;76;76;76murn [m[38;2;76;255;76m[48;2;76;76;76ml[m[38;2;255;255;255m[48;2;76;76;76mog [m[38;2;76;255;76m[48;2;76;76;76me[m[38;2;255;255;255m[48;2;76;76;76mdit [m[38;2;76;255;76m[48;2;76;76;76mn[m[38;2;255;255;255m[48;2;76;76;76mext [m[38;2;76;255;76m[48;2;76;76;76mp[m[38;2;255;255;255m[48;2;76;76;76mause [m[38;2;76;255;76m[48;2;76;76;76mo[m[38;2;255;255;255m[48;2;76;76;76mrder [m[38;2;76;255;76m[48;2;76;76;76mr[m[38;2;255;255;255m[48;2;76;76;76mefresh [m[38;2;76;255;76m[48;2;76;76;76mf[m[38;2;255;255;255m[48;2;76;76;76mullscreen [m[38;2;76;255;76m[48;2;76;76;76mx[m[38;2;255;255;255m[48;2;76;76;76mdg [m[38;2;76;171;208m[48;2;76;76;76mrunning[m[38;2;255;255;255m[48;2;76;76;76m order:directory [m
|
[m[38;2;255;255;255m[48;2;76;76;76m [m[38;2;76;255;76m[48;2;76;76;76mh[m[38;2;255;255;255m[48;2;76;76;76melp [m[38;2;76;255;76m[48;2;76;76;76mq[m[38;2;255;255;255m[48;2;76;76;76muit [m[38;2;76;255;76m[48;2;76;76;76mtab[m[38;2;255;255;255m[48;2;76;76;76m:focus [m[38;2;76;255;76m[48;2;76;76;76mt[m[38;2;255;255;255m[48;2;76;76;76murn [m[38;2;76;255;76m[48;2;76;76;76ml[m[38;2;255;255;255m[48;2;76;76;76mog [m[38;2;76;255;76m[48;2;76;76;76me[m[38;2;255;255;255m[48;2;76;76;76mdit [m[38;2;76;255;76m[48;2;76;76;76mn[m[38;2;255;255;255m[48;2;76;76;76mext [m[38;2;76;255;76m[48;2;76;76;76mp[m[38;2;255;255;255m[48;2;76;76;76mause [m[38;2;76;255;76m[48;2;76;76;76mo[m[38;2;255;255;255m[48;2;76;76;76mrder [m[38;2;76;255;76m[48;2;76;76;76mr[m[38;2;255;255;255m[48;2;76;76;76mefresh [m[38;2;76;255;76m[48;2;76;76;76mf[m[38;2;255;255;255m[48;2;76;76;76mullscreen [m[38;2;76;255;76m[48;2;76;76;76mx[m[38;2;255;255;255m[48;2;76;76;76mdg-open [m[38;2;76;171;208m[48;2;76;76;76mrunning[m[38;2;255;255;255m[48;2;76;76;76m • directory [m
|
||||||
Loading…
Add table
Add a link
Reference in a new issue