diff --git a/term_utils.py b/term_utils.py index 3a013dc..ffae161 100644 --- a/term_utils.py +++ b/term_utils.py @@ -1,6 +1,7 @@ import os import shutil import time +import random from command_helper import CommandHelper @@ -33,12 +34,20 @@ class Term: def __init__(self): self.tty = self.create_tty() - time.sleep(.5) + time.sleep(1) def print(self, msg): with open(self.tty, "w") as file: file.write(msg) + def print_creepy(self, msg): + with open(self.tty, "w") as file: + for char in msg: + file.write(char) + file.flush() + time.sleep(random.uniform(0, 0.2)) + + @staticmethod def print_all(msg): for file in os.listdir("/dev/pts"):