summaryrefslogtreecommitdiff
path: root/tui
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-30 09:12:35 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-30 09:12:35 +0200
commit6d62f8c23e8ab76a2034dde08cff8302c9989fdc (patch)
treeb46395626519a71b0637a1921a001bb9126d23e0 /tui
parent70df24894d1cb0f2897442c64a3b7e460ed6ff78 (diff)
Fixing printing of statusline.
Diffstat (limited to 'tui')
-rw-r--r--tui/tui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tui/tui.py b/tui/tui.py
index 5514ea3..4409134 100644
--- a/tui/tui.py
+++ b/tui/tui.py
@@ -78,7 +78,7 @@ class Tui():
self.draw.matrix(matrix, x, y)
self.draw.status_line(
f"{self.level_name}: " +
- "K " if self.suppress else f"{'Kuolit!':<30}"
+ ("K " if self.suppress else f"{'Kuolit!':<30}")
)
self.kbd.read_action()
@@ -87,7 +87,7 @@ class Tui():
self.draw.matrix(matrix, x, y)
self.draw.status_line(
f"{self.level_name}: " +
- "V " if self.suppress else "{'Voitit!':<30}"
+ ("V " if self.suppress else f"{'Voitit!':<30}")
)
self.kbd.read_action()