From 0a846f5f0f8dd2acaacb43e3035079b59a112796 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Thu, 7 Apr 2022 16:55:05 -0600 Subject: [PATCH] acme/wind.c: redraw window body with bg color if too small for a single line; ref #10 --- src/cmd/acme/wind.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c index 98c97368..c695524e 100644 --- a/src/cmd/acme/wind.c +++ b/src/cmd/acme/wind.c @@ -235,6 +235,7 @@ winresize(Window *w, Rectangle r, int safe, int keepextra) r1.min.y = min(y, r.max.y); r1.max.y = r.max.y; }else{ + draw(screen, r1, textcols[BACK], nil, ZP); r1.min.y = y; r1.max.y = y; }