Skip to content

Commit 6a241c6

Browse files
committed
Match on a single character and use an input delay.
1 parent c4b0367 commit 6a241c6

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Reduced minimum search requirement to a single character.
13+
- Added a slight input delay to smooth out processing.
14+
1015
## [0.0.3] - 2024-09-13
1116

1217
### Changed

info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@
116116
<key>keyword</key>
117117
<string>src</string>
118118
<key>queuedelaycustom</key>
119-
<integer>3</integer>
119+
<integer>1</integer>
120120
<key>queuedelayimmediatelyinitially</key>
121121
<true/>
122122
<key>queuedelaymode</key>
123-
<integer>0</integer>
123+
<integer>2</integer>
124124
<key>queuemode</key>
125125
<integer>1</integer>
126126
<key>runningsubtext</key>

search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
// Prepare Fuse to search folder names and be slightly picky about it
4949
$fuse = new \Fuse\Fuse($list, [
5050
'keys' => ['folder'],
51-
'minMatchCharLength' => 2,
51+
'minMatchCharLength' => 1,
5252
'threshold' => 0.3,
5353
]);
5454

0 commit comments

Comments
 (0)