This commit is contained in:
pbentes
2025-05-05 00:20:20 +01:00
parent db976e0936
commit 3397e3c4a9

View File

@ -179,7 +179,7 @@ drawmenu(void)
if (lines > 0) { if (lines > 0) {
/* draw vertical list */ /* draw vertical list */
for (item = curr; item != next; item = item->right) for (item = curr; item != next; item = item->right)
drawitem(item, x - promptw, y += bh, mw); drawitem(item, x - promptw, y += bh, mw - x);
} else if (matches) { } else if (matches) {
/* draw horizontal list */ /* draw horizontal list */
x += inputw; x += inputw;