Introduction
Introduction Statistics Contact Development Disclaimer Help
dmenu-linesbelowprompt-20210703-1a13d04.diff - sites - public wiki contents of …
git clone git://git.suckless.org/sites
Log
Files
Refs
---
dmenu-linesbelowprompt-20210703-1a13d04.diff (671B)
---
1 From 98e63311c4816fb3c7f5c5d00232fec3232465f3 Mon Sep 17 00:00:00 2001
2 From: Sebastian LaVine <[email protected]>
3 Date: Sat, 3 Jul 2021 17:35:50 -0400
4 Subject: [PATCH] Draw lines immediately below prompt
5
6 ---
7 dmenu.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/dmenu.c b/dmenu.c
11 index 65f25ce..5a041a6 100644
12 --- a/dmenu.c
13 +++ b/dmenu.c
14 @@ -154,7 +154,7 @@ drawmenu(void)
15 if (lines > 0) {
16 /* draw vertical list */
17 for (item = curr; item != next; item = item->right)
18 - drawitem(item, x, y += bh, mw - x);
19 + drawitem(item, x - promptw, y += bh, mw - x);
20 } else if (matches) {
21 /* draw horizontal list */
22 x += inputw;
23 --
24 2.32.0
25
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.