Skip to content

Commit

Permalink
Update speed
Browse files Browse the repository at this point in the history
  • Loading branch information
YummyBacon5 authored Jan 21, 2025
1 parent 5b762c8 commit 0b5d663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def print_typewriter_effect(text: str, effect: Literal["Slow", "Fast", "None"]):
print(text)
return

speed = .1 if effect == "Slow" else .05
speed = .025 if effect == "Slow" else .0025
for i, char in enumerate(text):
if i != len(text):
print(char, end="", flush=True)
Expand Down Expand Up @@ -425,4 +425,4 @@ def slow_print(text: str, delay: float = .1):
except KeyboardInterrupt:
# Reset the styles incase the user exits during the title sequence with Style.BRIGHT
print(f"{Style.RESET_ALL}{Fore.RED}User has exited. Goodbye!{Style.RESET_ALL}")
deinit()
deinit()

0 comments on commit 0b5d663

Please sign in to comment.