mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +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(">"))
|
if (incompleteName.StartsWith(">"))
|
||||||
{
|
{
|
||||||
searchOption = SearchOption.AllDirectories;
|
searchOption = SearchOption.AllDirectories;
|
||||||
incompleteName = incompleteName.Substring(1);
|
|
||||||
|
// match everything before and after search term using supported wildcard '*', ie. *searchterm*
|
||||||
|
incompleteName = "*" + incompleteName.Substring(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user