File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 5757# Set up readline
5858from .rl_utils import rl_type , RlType
5959if rl_type == RlType .NONE :
60- rl_err_msg = "Tab completion has been disabled since no supported version of readline was found\n "
61- rl_err_msg += "To resolve this, install pyreadline on Windows or gnureadline on Mac\n "
60+ rl_err_msg = "Readline features including tab completion and history have been disabled since no \n " \
61+ "supported version of readline was found. To resolve this, install pyreadline on \n " \
62+ "Windows or gnureadline on Mac.\n \n "
6263 sys .stderr .write (Fore .LIGHTYELLOW_EX + rl_err_msg + Fore .RESET )
6364else :
6465 from .rl_utils import rl_force_redisplay , readline
65- from .argparse_completer import AutoCompleter , ACArgumentParser
6666
6767 if rl_type == RlType .PYREADLINE :
6868
7979 import ctypes
8080 from .rl_utils import readline_lib
8181
82+ from .argparse_completer import AutoCompleter , ACArgumentParser
83+
8284# Newer versions of pyperclip are released as a single file, but older versions had a more complicated structure
8385try :
8486 from pyperclip .exceptions import PyperclipException
You can’t perform that action at this time.
0 commit comments