commit e9c21ad462d5f65178c56dad1caeda5b554baa2b
Author: Danil Semelenov <[email protected]>
Date:   Fri Sep 18 23:55:11 2015 +0300

    Add dmenu patch for hiding the single empty menu item on passing the single 
newline

diff --git 
a/tools.suckless.org/dmenu/patches/dmenu-4.5-hide-single-newline.diff 
b/tools.suckless.org/dmenu/patches/dmenu-4.5-hide-single-newline.diff
new file mode 100644
index 0000000..e377a7c
--- /dev/null
+++ b/tools.suckless.org/dmenu/patches/dmenu-4.5-hide-single-newline.diff
@@ -0,0 +1,12 @@
+diff --git a/dmenu.c b/dmenu.c
+index 4ea95f8..4b76da5 100644
+--- a/dmenu.c
++++ b/dmenu.c
+@@ -482,6 +482,7 @@ readstdin(void) {
+       }
+       if(items)
+               items[i].text = NULL;
++      if (i == 1 && items[0].text[0] == '

Reply via email to