diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2024-07-23 16:32:25 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2024-07-23 16:32:25 -0400 |
| commit | 8f4c3e0c6a5ee152f543fe3e2561cf824503e2be (patch) | |
| tree | 64c5875abd01770ca79cd3f4cf6fc7a8e2850b59 /python/bncompleter.py | |
| parent | 7c58c31da5f2895025bb4d8dd44f3b850e6a0161 (diff) | |
restore tab completion parity when fuzzySearch is disabled
Diffstat (limited to 'python/bncompleter.py')
| -rw-r--r-- | python/bncompleter.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
