From 6aec09023c74b7f35ed0b15348d83ee6f9ee3c8a Mon Sep 17 00:00:00 2001 From: Shadow15510 Date: Mon, 8 Nov 2021 21:02:41 +0100 Subject: [PATCH] Add a function in order to display text --- asci_lib.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/asci_lib.py b/asci_lib.py index d56cd06..5af2424 100644 --- a/asci_lib.py +++ b/asci_lib.py @@ -1,4 +1,4 @@ -# Asci (version 1.5.1) +# Asci (version 1.5.2) class Screen: def __init__(self, screen_width=21, screen_height=6): @@ -250,3 +250,10 @@ def read_event(xp, event): raise TypeError("event is of type {} instead of list".format(type(event))) return Event(*event) + + +def print_text(text): + for i in text_formater(text): + print("\n" * 7) + print(i) + input()