From 8f4c3e0c6a5ee152f543fe3e2561cf824503e2be Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Tue, 23 Jul 2024 16:32:25 -0400 Subject: restore tab completion parity when fuzzySearch is disabled --- python/bncompleter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/bncompleter.py b/python/bncompleter.py index 56d279b2..ed32907c 100644 --- a/python/bncompleter.py +++ b/python/bncompleter.py @@ -56,7 +56,7 @@ def fuzzy_match(target, query): if binaryninja.Settings().get_bool("ui.scripting.fuzzySearch"): return binaryninja.fuzzy_match_single(target, query) else: - return query in target + return 1 if target.startswith(query) else None def fnsignature(obj): -- cgit v1.3.1