diff options
Diffstat (limited to 'alot/completion/multipleselection.py')
-rw-r--r-- | alot/completion/multipleselection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/completion/multipleselection.py b/alot/completion/multipleselection.py index 45de5a28..8ceb9ed6 100644 --- a/alot/completion/multipleselection.py +++ b/alot/completion/multipleselection.py @@ -25,7 +25,7 @@ class MultipleSelectionCompleter(Completer): self._completer = completer self._separator = separator - def relevant_part(self, original, pos): + def relevant_part(self, original, pos, sep=' '): """Calculate the subword of `original` that `pos` is in.""" start = original.rfind(self._separator, 0, pos) if start == -1: |