diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2014-04-12 14:38:42 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2014-04-12 14:38:42 +0300 |
commit | fc08cb9cffce6cdb0ca3aa9f77953e86b2cf1290 (patch) | |
tree | e26bb1694f2a191ebaf488fe504073a0b47346fb /client | |
parent | 9e9b671fa3863aecabdee4a9befdef91ef29f6f3 (diff) | |
download | bemenu-fc08cb9cffce6cdb0ca3aa9f77953e86b2cf1290.tar.gz bemenu-fc08cb9cffce6cdb0ca3aa9f77953e86b2cf1290.tar.bz2 bemenu-fc08cb9cffce6cdb0ca3aa9f77953e86b2cf1290.zip |
Dmenu outputs input text, if no matches were found.
Diffstat (limited to 'client')
-rw-r--r-- | client/client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/client.c b/client/client.c index ff32d1b..130d972 100644 --- a/client/client.c +++ b/client/client.c @@ -107,6 +107,9 @@ int main(int argc, char **argv) const char *text = bmItemGetText(items[i]); printf("%s\n", (text ? text : "")); } + + if (!count && bmMenuGetFilter(menu)) + printf("%s\n", bmMenuGetFilter(menu)); } bmMenuFree(menu); |