mew

desc
git clone https://git.awy.one/mew.git
Log | Files | Refs | README | LICENSE

commit 7a07b728c455ebde7d737ec1bff7d71fca4901b5
parent 60c2bfa3b619068659d92feb680704c07fd93664
Author: sewn <sewn@disroot.org>
Date:   Thu,  1 Aug 2024 01:30:23 +0300

fix cursor height

Diffstat:
Mmew.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mew.c b/mew.c @@ -295,7 +295,8 @@ drawmenu(void) curpos = TEXTW(text) - TEXTW(&text[cursor]); if ((curpos += lrpad / 2 - 1) < w) { drwl_setscheme(drw, colors[SchemeNorm]); - drwl_rect(drw, x + curpos, 2, 2, bh - 4, 1, 0); + drwl_rect(drw, x + curpos, (bh - drw->font->height) / 2 + 1, + 2, drw->font->height - 2, 1, 0); } if (lines > 0) {