From a6c039f30446a0f2c38dba04082efb9015edc979 Mon Sep 17 00:00:00 2001 From: Veha0001 Date: Tue, 28 Jan 2025 15:31:17 +0700 Subject: [PATCH] Beta: used colorama --- autogen.py | 12 ++++++------ requirements.txt | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/autogen.py b/autogen.py index d2017b7..881e3f9 100755 --- a/autogen.py +++ b/autogen.py @@ -1,14 +1,14 @@ #!/bin/python -import os -import re -import sys -import glob -import json -import shutil +import os, re, sys, glob, json, shutil import argparse import subprocess from typing import Optional +try: + from colorama import init + init(autoreset=True) +except ImportError: + pass try: from art import text2art diff --git a/requirements.txt b/requirements.txt index 5f7602f..7f91966 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ art +colorama \ No newline at end of file