diff options
Diffstat (limited to 'cmd2/rl_utils.py')
-rw-r--r-- | cmd2/rl_utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd2/rl_utils.py b/cmd2/rl_utils.py index 1dc83d15..c00a5784 100644 --- a/cmd2/rl_utils.py +++ b/cmd2/rl_utils.py @@ -22,13 +22,15 @@ except ImportError: pass -# Check what implementation of readline we are using class RlType(Enum): + """Readline library types we recognize""" GNU = 1 PYREADLINE = 2 NONE = 3 +# Check what implementation of readline we are using + rl_type = RlType.NONE # The order of this check matters since importing pyreadline will also show readline in the modules list |