diff --git a/catprinter.py b/catprinter.py index deb16e8..19129bc 100644 --- a/catprinter.py +++ b/catprinter.py @@ -5,10 +5,12 @@ def draw_cat(): /\_/\ ( o.o ) > ^ < + +(press ctr+C to stop) """ return cat -def draw_cats(num_cats): - for i in range(num_cats): +def draw_cats(): + while True: pretty_print(draw_cat()) diff --git a/main.py b/main.py index f6ee5aa..cebbf81 100644 --- a/main.py +++ b/main.py @@ -2,7 +2,7 @@ def main(): - draw_cats(10) + draw_cats() if __name__ == '__main__': main() diff --git a/printer.py b/printer.py index 1d79416..b6658df 100644 --- a/printer.py +++ b/printer.py @@ -4,10 +4,10 @@ "\033[91m", # Red "\033[92m", # Green "\033[93m", # Yellow - "-\033[94m", # Blue + "\033[94m", # Blue "\033[95m", # Magenta "\033[96m", # Cyan - "-\033[97m", # White + "\033[97m", # White ] reset_color = "\033[0m"