diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-28 22:07:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 22:07:40 -0500 |
commit | 72d66bb1250518a588cd254a59655b28fd204731 (patch) | |
tree | fd79cf2104eafeb7f357491b8bb2ef54b0a8484c /cmd2/rl_utils.py | |
parent | 6210d23662b2cf45f837f01697beb61eef42eabf (diff) | |
parent | c7d0efc41dc5ec215ec6833e646397e232700f71 (diff) | |
download | cmd2-git-72d66bb1250518a588cd254a59655b28fd204731.tar.gz |
Merge branch 'master' into pr/docs/md/brokenlink
Diffstat (limited to 'cmd2/rl_utils.py')
-rw-r--r-- | cmd2/rl_utils.py | 4 |
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 |