diff --git a/eris/__main__.py b/eris/__main__.py index 127e6de..e1b4243 100755 --- a/eris/__main__.py +++ b/eris/__main__.py @@ -963,8 +963,7 @@ class Screen: @functools.lru_cache(maxsize=2) def _get_status_bar_appearance(self, width, progress_bar_size): bar_transparency = 0.7 - spacing = " " * (width - len(self._STATUS_BAR)) - bar = (self._STATUS_BAR[:width] + spacing)[:width] + bar = self._STATUS_BAR.center(width)[:width] fraction, whole = math.modf(progress_bar_size) whole = int(whole) if whole < len(bar) and bar[whole].data == " ": diff --git a/tests/golden-files/help b/tests/golden-files/help index 47490f1..57aaa16 100644 --- a/tests/golden-files/help +++ b/tests/golden-files/help @@ -57,4 +57,4 @@ │ │ │ │ └──────────────────────────────────────────────────────────────────────────────────────────────────┘ - help quit tab:focus turn log edit next order refresh fullscreen xdg-open  \ No newline at end of file + help quit tab:focus turn log edit next order refresh fullscreen xdg-open  \ No newline at end of file