From 4b8f8f6c7762acecffc0d44b85be7e1da8f74672 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 6 Dec 2020 15:01:56 -0800 Subject: [PATCH] Add ctrlc_return1 to search.py. --- search.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/search.py b/search.py index aca24f8..5cb8bfe 100644 --- a/search.py +++ b/search.py @@ -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)