From f26519863f6242685ca6fb97df077ab6d3edbf88 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Sat, 10 Nov 2018 13:24:39 +0100 Subject: [PATCH] Don't include --progam in the condition --- kittens/hints/main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kittens/hints/main.py b/kittens/hints/main.py index 50c66126b..f9f47534c 100644 --- a/kittens/hints/main.py +++ b/kittens/hints/main.py @@ -93,9 +93,7 @@ class Hints(Handler): return ' ' if args.add_trailing_space == 'never': return '' - if args.multiple and args.program == '-': - return ' ' - return '' + return ' ' if args.multiple else '' def reset(self): self.current_input = '' @@ -379,7 +377,7 @@ In this mode, press :kbd:`Esc` to finish selecting. default=auto choices=auto,always,never Add trailing space after matched text. Defaults to auto, which adds the space -when used together with --multiple and pasting match into the terminal window. +when used together with --multiple. '''.format(','.join(sorted(URL_PREFIXES))).format help_text = 'Select text from the screen using the keyboard. Defaults to searching for URLs.' usage = ''