Add ctrlc_return1 to search.py.
This commit is contained in:
parent
36e8dfe877
commit
4b8f8f6c77
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ except ImportError:
|
|||
from voussoirkit import clipext
|
||||
from voussoirkit import expressionmatch
|
||||
from voussoirkit import pathclass
|
||||
from voussoirkit import pipeable
|
||||
from voussoirkit import safeprint
|
||||
from voussoirkit import spinal
|
||||
from voussoirkit import winglob
|
||||
|
@ -252,6 +253,7 @@ def _search_argparse(args):
|
|||
if args.show_count:
|
||||
print('%d items.' % result_count)
|
||||
|
||||
@pipeable.ctrlc_return1
|
||||
def search_argparse(args):
|
||||
try:
|
||||
return _search_argparse(args)
|
||||
|
|
Loading…
Reference in a new issue