mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Update search wild card
when retrieving folders and files based search term, use wildcard to match everything before and after search term
This commit is contained in:
@@ -191,7 +191,9 @@ namespace Wox.Plugin.Folder
|
||||
if (incompleteName.StartsWith(">"))
|
||||
{
|
||||
searchOption = SearchOption.AllDirectories;
|
||||
incompleteName = incompleteName.Substring(1);
|
||||
|
||||
// match everything before and after search term using supported wildcard '*', ie. *searchterm*
|
||||
incompleteName = "*" + incompleteName.Substring(1);
|
||||
}
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user