Skip to content

Commit 501bbba

Browse files
committed
fix(launcher): Do not display apps with queries that starts with ~ or /
1 parent e83e791 commit 501bbba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dialog_launcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class Launcher extends search.Search {
7777

7878
const pattern = pat.toLowerCase()
7979

80-
if (pat !== '?') {
80+
if (pat !== '?' && ! pat.startsWith("/") && ! pat.startsWith("~")) {
8181
const needles = pattern.split(' ');
8282

8383
const contains_pattern = (haystack: string, needles: Array<string>): boolean => {

0 commit comments

Comments
 (0)