From a3c87f5303f157808c567d324b758ef46fcf4426 Mon Sep 17 00:00:00 2001 From: Ahmed Shawky Date: Wed, 9 Jan 2013 00:56:50 +0200 Subject: [PATCH] Add readline to provide elaborate line editing and history features --- src/core/menu/text.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/menu/text.py b/src/core/menu/text.py index 0e973b6e1..b924f149c 100644 --- a/src/core/menu/text.py +++ b/src/core/menu/text.py @@ -1,5 +1,8 @@ #!/usr/bin/env python - +try: + import readline +except: + pass from src.core.setcore import bcolors, get_version, check_os, meta_path # grab version of SET