summaryrefslogtreecommitdiff
path: root/cmd2/rl_utils.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-28 20:47:43 -0500
committerGitHub <noreply@github.com>2021-01-28 20:47:43 -0500
commit8268401838167decd02c38f39bd94355333ab077 (patch)
treeea88de7a27c3b71ed1295e96b1c72f260d98747a /cmd2/rl_utils.py
parenta09ad27429e9bad2983db7f3ba4e7ab287459cab (diff)
parentd5cebaef06719fdc01eba15e01fb70ef948e05c9 (diff)
downloadcmd2-git-8268401838167decd02c38f39bd94355333ab077.tar.gz
Merge branch 'master' into pr/doc/commands
Diffstat (limited to 'cmd2/rl_utils.py')
-rw-r--r--cmd2/rl_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/rl_utils.py b/cmd2/rl_utils.py
index e435c3f5..ca75fd8a 100644
--- a/cmd2/rl_utils.py
+++ b/cmd2/rl_utils.py
@@ -37,8 +37,8 @@ vt100_support = False
# Explanation for why readline wasn't loaded
_rl_warn_reason = ''
-# The order of this check matters since importing pyreadline will also show readline in the modules list
-if 'pyreadline' in sys.modules:
+# The order of this check matters since importing pyreadline/pyreadline3 will also show readline in the modules list
+if 'pyreadline' in sys.modules or 'pyreadline3' in sys.modules:
rl_type = RlType.PYREADLINE
from ctypes import byref