diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-08-01 00:05:14 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-08-01 00:05:14 +0800 |
| commit | e4b28e857cf9c66725b51ae7a9837697343662c3 (patch) | |
| tree | c68495b737f79b18f93e73fb8fd5f2ed4a5d4668 /stdlib.py | |
| parent | 582c097ced66f6dda7c69236222f59a37e2b2b91 (diff) | |
more functions & fixes, updated
Diffstat (limited to 'stdlib.py')
| -rw-r--r-- | stdlib.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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): |
