summaryrefslogtreecommitdiff
path: root/tui/ansi_draw.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 /tui/ansi_draw.py
parentdb3fd859e42fb3d6b3c1f98473b54e91d78b74e7 (diff)
Adding level-info on statusline.
Diffstat (limited to 'tui/ansi_draw.py')
-rw-r--r--tui/ansi_draw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tui/ansi_draw.py b/tui/ansi_draw.py
index dd304d0..143874d 100644
--- a/tui/ansi_draw.py
+++ b/tui/ansi_draw.py
@@ -5,8 +5,8 @@ from .static import TileTypes
class AnsiDraw():
""" AnsiDraw - "piirtelee" näytölle kirjailmilla """
- def __init__(self, height = 15):
- print(end="\n"*height)
+ def __init__(self, height = 9, name = ""):
+ print(end='\n'*height+name+": Peli alkaa.")
def __del__(self):
print()