From 4c9b7b419f9fa49f8685d0e86744aee32427acee Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Sun, 19 Dec 2021 19:48:10 -0500 Subject: Applied lines below prompt patch https://tools.suckless.org/dmenu/patches/lines-below-prompt/ --- dmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenu.c b/dmenu.c index 070693c..9d57c21 100644 --- a/dmenu.c +++ b/dmenu.c @@ -174,7 +174,7 @@ drawmenu(void) if (lines > 0) { /* draw vertical list */ for (item = curr; item != next; item = item->right) - drawitem(item, x, y += bh, mw - x); + drawitem(item, x - promptw, y += bh, mw); } else if (matches) { /* draw horizontal list */ x += inputw; -- cgit v1.2.3