summaryrefslogtreecommitdiff
path: root/cmd2
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-28 22:26:34 -0500
committerGitHub <noreply@github.com>2021-01-28 22:26:34 -0500
commitf8b2407b6079853fdfdd5878480c6883e2c18ded (patch)
treeb715094fcca02b75cd98780eac2b23e18ad3f2ec /cmd2
parent188f251fa339eda74a97a790ac33b02a18363462 (diff)
parentb329218f3c96398840776b48403323214d7b489b (diff)
downloadcmd2-git-f8b2407b6079853fdfdd5878480c6883e2c18ded.tar.gz
Merge branch 'master' into header_tabs
Diffstat (limited to 'cmd2')
-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