Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cdde3ac

Browse files
committedMar 5, 2025
fix a bug where tofi would freeze when creating a browser instance
1 parent e90faf2 commit cdde3ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/modules.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ bool module_search_selected(struct tofi *tofi, char *restrict query) {
6262
strncat(command, tofi->modules.search.engine, sizeof(command)-1);
6363
strncat(command, "?q=", sizeof(command) - 1);
6464
strncat(command, query, sizeof(command) - 1);
65-
strncat(command, "\"", sizeof(command) - 1);
65+
strncat(command, "\" &", sizeof(command) - 1);
6666

6767
system(command);
6868
// return is here to avoid an ugly switch

0 commit comments

Comments
 (0)
Please sign in to comment.