mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 14:05:48 +02:00
Addressing instant vs fuzzymatch compatibility issue ref. #21
This commit is contained in:
parent
0329c28407
commit
fc8c1c56c6
@ -102,5 +102,14 @@ fuzzymatch(void)
|
||||
}
|
||||
#endif // HIGHPRIORITY_PATCH
|
||||
curr = sel = matches;
|
||||
|
||||
#if INSTANT_PATCH
|
||||
if (instant && matches && matches==matchend) {
|
||||
puts(matches->text);
|
||||
cleanup();
|
||||
exit(0);
|
||||
}
|
||||
#endif // INSTANT_PATCH
|
||||
|
||||
calcoffsets();
|
||||
}
|
Loading…
Reference in New Issue
Block a user