acme/wind.c: redraw window body with bg color if too small for a single line; ref #10

This commit is contained in:
Derek Stevens 2022-04-07 16:55:05 -06:00 committed by Dan Cross
parent 9dab36f2af
commit 0a846f5f0f

View file

@ -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;
}