Simpler interface details.

- Consistent capitalisation.
- No unnecessary colons.
This commit is contained in:
Andrew Hamilton 2019-08-28 20:53:23 +10:00
parent db08b3f465
commit 22bffd6748
2 changed files with 4 additions and 4 deletions

View file

@ -952,7 +952,7 @@ class Screen:
divider = " " + self._listing.top * 2 + " "
self._listing.title = (
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(
" *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(
termstr.Color.yellow) if is_paused else termstr.TermStr("running").
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))
bar = (self._STATUS_BAR[:width - len(indicators)] + spacing +
indicators)[:width]

View file

@ -57,4 +57,4 @@
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
 help quit tab:focus turn log edit next pause order refresh fullscreen xdg running order:directory 
 help quit tab:focus turn log edit next pause order refresh fullscreen xdg-open running directory