mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-08 07:44:22 +01:00
Use readline if available
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user