[Secure-testing-commits] r56652 - bin

Raphael Geissert geissert at moszumanska.debian.org
Thu Oct 12 16:08:52 UTC 2017


Author: geissert
Date: 2017-10-12 16:08:52 +0000 (Thu, 12 Oct 2017)
New Revision: 56652

Modified:
   bin/check-new-issues
Log:
do not add useless blank spaces on completion


Modified: bin/check-new-issues
===================================================================
--- bin/check-new-issues	2017-10-12 16:05:44 UTC (rev 56651)
+++ bin/check-new-issues	2017-10-12 16:08:52 UTC (rev 56652)
@@ -221,6 +221,10 @@
 
     # 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 {




More information about the Secure-testing-commits mailing list