forked from RepoMirrors/bemenu
Dmenu outputs input text, if no matches were found.
This commit is contained in:
parent
9e9b671fa3
commit
fc08cb9cff
@ -107,6 +107,9 @@ int main(int argc, char **argv)
|
|||||||
const char *text = bmItemGetText(items[i]);
|
const char *text = bmItemGetText(items[i]);
|
||||||
printf("%s\n", (text ? text : ""));
|
printf("%s\n", (text ? text : ""));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!count && bmMenuGetFilter(menu))
|
||||||
|
printf("%s\n", bmMenuGetFilter(menu));
|
||||||
}
|
}
|
||||||
|
|
||||||
bmMenuFree(menu);
|
bmMenuFree(menu);
|
||||||
|
Loading…
Reference in New Issue
Block a user