Use readline if available

This commit is contained in:
jlxip
2023-04-21 22:01:06 +02:00
parent 1f3cd214e6
commit 504a85bbdb

View File

@@ -5,6 +5,12 @@ import yaml
from colorama import Fore
from git import Repo
# Use readline if available (for clean_input)
try:
import readline
except:
pass
def clean_input(prompt: str = ""):
try: