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 | 34a788b1a981d1f9cb77bd001a08485e87cf1950 (patch) | |
tree | e3cb7f45f8f309d54e71b58e3757af1f3e8b06b7 /bin/check-new-issues | |
parent | 15c240643c6eb875e9274b3fc246ed1fda335d63 (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 { |