mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix #58: don't calc when input.length <= 2
This commit is contained in:
parent
bc85b3599e
commit
c068366ae2
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ namespace Wox.Plugin.System
|
|||
protected override List<Result> QueryInternal(Query query)
|
||||
{
|
||||
if (string.IsNullOrEmpty(query.RawQuery)
|
||||
|| query.RawQuery.Length < 2 // don't affect when user only input "e" or "i" keyword
|
||||
|| query.RawQuery.Length <= 2 // don't affect when user only input "e" or "i" keyword
|
||||
|| !regValidExpressChar.IsMatch(query.RawQuery)
|
||||
|| !IsBracketComplete(query.RawQuery)) return new List<Result>();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue