diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-21 00:47:38 -0400 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-21 00:47:38 -0400 |
| commit | f4570b6a3c13304f12e4319b4bf97dbe4f64305d (patch) | |
| tree | 49da72210c2915ab83d1c35f2ebfcf4d7d5bd566 /cmd2.py | |
| parent | d907c7758da0f7671c6378c1cb6138ae807b9bc1 (diff) | |
| download | cmd2-git-f4570b6a3c13304f12e4319b4bf97dbe4f64305d.tar.gz | |
Renamed a function
Diffstat (limited to 'cmd2.py')
| -rwxr-xr-x | cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1546,7 +1546,7 @@ class Cmd(cmd.Cmd): return subcommand_names # noinspection PyUnusedLocal - def _display_matches_gnu(self, substitution, matches, longest_match_length): + def _display_matches_gnu_readline(self, substitution, matches, longest_match_length): """ A custom completion match display function for use with GNU readline :param substitution: the search text that was replaced @@ -1604,7 +1604,7 @@ class Cmd(cmd.Cmd): # GNU readline specific way to override the completions display function if readline_lib: - readline.set_completion_display_matches_hook(self._display_matches_gnu) + readline.set_completion_display_matches_hook(self._display_matches_gnu_readline) # pyreadline specific way to override the completions display function elif sys.platform.startswith('win'): |
