Show More
@@ -83,8 +83,8 b' class NavigableAutoSuggestFromHistory(AutoSuggestFromHistory):' | |||
|
83 | 83 | query, self.skip_lines, history |
|
84 | 84 | ): |
|
85 | 85 | # if user has history ['very.a', 'very', 'very.b'] and typed 'very' |
|
86 |
# we want to switch from 'very.b' to 'very.a' because a) if the |
|
|
87 | # suggestion equals current text, prompt-toolit aborts suggesting | |
|
86 | # we want to switch from 'very.b' to 'very.a' because a) if the | |
|
87 | # suggestion equals current text, prompt-toolkit aborts suggesting | |
|
88 | 88 | # b) user likely would not be interested in 'very' anyways (they |
|
89 | 89 | # already typed it). |
|
90 | 90 | if query + suggestion != other_than: |
General Comments 0
You need to be logged in to leave comments.
Login now