From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 From: Jacob Moody Date: Sun, 30 Dec 2018 16:22:39 -0600 Message-ID: To: 9fans@9fans.net Content-Type: text/plain; charset="UTF-8" Subject: [9fans] Acme resize bug Topicbox-Message-UUID: f15b495a-ead9-11e9-9d60-3106f5b1d025 Hello 9fans, I've noticed that sometimes when resizing acme columns there is a strip left at the bottom that doesn't get redrawn. It's a bit hard to notice with the default colours, but changing it up makes it more obvious. I was able to fix it with this the following patch but am not sure if this is the best way to go about fixing it. diff -u /dist/clean/plan9front/sys/src/cmd/acme/cols.c /sys/src/cmd/acme/cols.c --- /dist/clean/plan9front/sys/src/cmd/acme/cols.c Thu Nov 1 15:02:44 2018 +++ /sys/src/cmd/acme/cols.c Thu Nov 1 15:38:53 2018 @@ -204,6 +204,7 @@ draw(screen, r2, display->black, nil, ZP); r1.min.y = r2.max.y; r1.min.y = winresize(w, r1, FALSE); + draw(screen, r1, textcols[BACK], nil, ZP); } c->r = r; } Happy New Year, Moody