Compare commits

..

No commits in common. "bb382622bcd3c5739ec837b410641f7910c52f06" and "77d99659a99ee7e3f4db33b462e96e954cda1dba" have entirely different histories.

1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Asci (1.9.3)
# Asci (1.9.2)
from math import floor, ceil
SCREEN_WIDTH = 21
@ -263,7 +263,7 @@ class Screen:
print("\n" * SCREEN_HEIGHT)
def display_text(self, string):
paragraphs = [i for i in text_formater(string) if i]
paragraphs = [i for i in text_formater(string, SCREEN_WIDTH, SCREEN_HEIGHT) if i]
nb_par = len(paragraphs)
for index in range(nb_par):
self.clear()
@ -501,4 +501,4 @@ def center(string, total_length, symbol):
def enumerate(data):
return [(i, data[i]) for i in range(len(data))]
return [(i, data[i]) for i in range(len(data))]