diff options
author | Eric Lin <anselor@gmail.com> | 2018-04-19 12:13:32 -0400 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2018-04-19 12:13:32 -0400 |
commit | c2186332aeb6f59063bb410fca25ed400ce410cd (patch) | |
tree | ccc1d07fcf14f81c6e06d3b9dddcf141f96dcdd2 /cmd2/rl_utils.py | |
parent | ff66a95f399330bfca5b7f3b4dcd18b457574ac4 (diff) | |
download | cmd2-git-c2186332aeb6f59063bb410fca25ed400ce410cd.tar.gz |
Addresses comments on #362
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 |