Merge pull request #2558 from jlxip/master

Use readline if available
pull/2475/head^2
Richard Beales 2023-04-21 21:17:14 +01:00 committed by GitHub
commit a8fe3085fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

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