Minor fix

This commit is contained in:
Shadow15510 2023-01-05 15:26:10 +01:00
parent f2c74bbea5
commit 28d9eb5231
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Asci (1.9.2)
# Asci (1.9.3)
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, SCREEN_WIDTH, SCREEN_HEIGHT) if i]
paragraphs = [i for i in text_formater(string) 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))]