From e4b28e857cf9c66725b51ae7a9837697343662c3 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 1 Aug 2023 00:05:14 +0800 Subject: more functions & fixes, updated --- stdlib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stdlib.py') diff --git a/stdlib.py b/stdlib.py index 2238c5f..2f6568e 100644 --- a/stdlib.py +++ b/stdlib.py @@ -77,8 +77,8 @@ def aprintf(*value: str, end=None): waitime = 0.01 value = istr(list(value)) ani=True - if len(value) >= 8*16: - ani = ainputf("Print string is bigger, fast animation(Y/n: ") + if len(value) >= 8*32: + ani = ainputf("Print string is bigger, fast animation(Y/n): ") if ani.lower() == 'y': ani=False for i in value: @@ -103,7 +103,7 @@ def printerror(str: str, outputter=aprintf, ccolor=color.red): outputter(f"{ccolor}[#] {str}{color.reset}") def ainputf(str: str, end='', ccolor=color.purple): - aprintf(f"{ccolor}{str}", f"{end}{color.reset}", end=end) + aprintf(str, end=end) return input() def askinput(str: str, inputter=ainputf, ccolor=color.blue): -- cgit v1.2.3