Show More
@@ -216,7 +216,11 b' def completions_sorting_key(word):' | |||||
216 | class Bunch(object): pass |
|
216 | class Bunch(object): pass | |
217 |
|
217 | |||
218 |
|
218 | |||
|
219 | if sys.platform == 'win32': | |||
|
220 | DELIMS = ' \t\n`!@#$^&*()=+[{]}|;\'",<>?' | |||
|
221 | else: | |||
219 | DELIMS = ' \t\n`!@#$^&*()=+[{]}\\|;:\'",<>?' |
|
222 | DELIMS = ' \t\n`!@#$^&*()=+[{]}\\|;:\'",<>?' | |
|
223 | ||||
220 | GREEDY_DELIMS = ' =\r\n' |
|
224 | GREEDY_DELIMS = ' =\r\n' | |
221 |
|
225 | |||
222 |
|
226 | |||
@@ -729,6 +733,9 b' class IPCompleter(Completer):' | |||||
729 | return [text_prefix + cast_unicode_py2(protect_filename(f)) for f in self.glob("*")] |
|
733 | return [text_prefix + cast_unicode_py2(protect_filename(f)) for f in self.glob("*")] | |
730 |
|
734 | |||
731 | # Compute the matches from the filesystem |
|
735 | # Compute the matches from the filesystem | |
|
736 | if sys.platform == 'win32': | |||
|
737 | m0 = self.clean_glob(text) | |||
|
738 | else: | |||
732 | m0 = self.clean_glob(text.replace('\\','')) |
|
739 | m0 = self.clean_glob(text.replace('\\', '')) | |
733 |
|
740 | |||
734 | if has_protectables: |
|
741 | if has_protectables: |
General Comments 0
You need to be logged in to leave comments.
Login now