diff options
author | Raphael Geissert <geissert@debian.org> | 2017-10-12 16:08:52 +0000 |
---|---|---|
committer | Raphael Geissert <geissert@debian.org> | 2017-10-12 16:08:52 +0000 |
commit | d8f1d605aa15533f54214d8ffb9311f30eecb9c3 (patch) | |
tree | 681dfde491ec9b36a46102e218369657e44ed15c /bin/check-new-issues | |
parent | c7a96a1fe8b1fc0baa9d17f7c444aff15a2a8b4c (diff) |
do not add useless blank spaces on completion
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56652 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/check-new-issues')
-rwxr-xr-x | bin/check-new-issues | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/check-new-issues b/bin/check-new-issues index fa864b6b70..fd5690504f 100755 --- a/bin/check-new-issues +++ b/bin/check-new-issues @@ -221,6 +221,10 @@ sub initial_completion { # If first word then complete commands if ($start == 0) { + # do not add useless blank spaces on completion + $attribs->{completion_suppress_append} = 1 + unless ($line eq '-'); + return $term->completion_matches($text, $attribs->{list_completion_function}); } else { |