Merge pull request #2558 from jlxip/master

Use readline if available
This commit is contained in:
Richard Beales
2023-04-21 21:17:14 +01:00
committed by GitHub

View File

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