acme/wind.c: redraw window body with bg color if too small for a single line; ref #10
This commit is contained in:
parent
9dab36f2af
commit
0a846f5f0f
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user