From c2186332aeb6f59063bb410fca25ed400ce410cd Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Thu, 19 Apr 2018 12:13:32 -0400 Subject: Addresses comments on #362 --- cmd2/rl_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd2/rl_utils.py') 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 -- cgit v1.2.1