aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDerek Stevens <nilix@nilfm.cc>2022-04-07 16:55:05 -0600
committerDan Cross <crossd@gmail.com>2022-09-07 12:24:01 -0400
commit0a846f5f0f8dd2acaacb43e3035079b59a112796 (patch)
tree9b4eba0ddc9820282d904d2f31796a9cc0b3ad52 /src
parent9dab36f2af60901565b97c8ca0ece46f70fa3ead (diff)
acme/wind.c: redraw window body with bg color if too small for a single line; ref #10
Diffstat (limited to 'src')
-rw-r--r--src/cmd/acme/wind.c1
1 files changed, 1 insertions, 0 deletions
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;
}