summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-30 09:08:20 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-30 09:08:20 +0200
commit70df24894d1cb0f2897442c64a3b7e460ed6ff78 (patch)
treea73bd3554e6ad42b8c91c6e5aed7a224ad4118d8 /app.py
parentdb3fd859e42fb3d6b3c1f98473b54e91d78b74e7 (diff)
Adding level-info on statusline.
Diffstat (limited to 'app.py')
-rw-r--r--app.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.py b/app.py
index a9cee19..8394f68 100644
--- a/app.py
+++ b/app.py
@@ -29,6 +29,7 @@ class App:
tui_opts['height'] = LevelSpecs[board_opts['level']][1]
self.board = Board(**board_opts)
+ tui_opts['level_name']=self.board.get_level_name()
self.ui = Tui(**tui_opts)
self.game = Game(self.board,self.ui)