commit 9bdfa17cb4dad7d2e1a26579e7c26c6a9c6c12ac
parent 51cd30c2471fbe8cbcc504b0126c68c9c6874985
Author: Claudio Alessi <smoppy@gmail.com>
Date: Sun, 13 Nov 2022 22:05:35 +0100
Full redraw new buffers by default.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/circo.c b/circo.c
@@ -1134,6 +1134,7 @@ newbuf(char *name) {
Buffer *b;
b = ecalloc(1, sizeof(Buffer));
+ b->need_redraw = REDRAW_ALL;
strncpy(b->name, name, sizeof b->name);
attach(b);
return b;
@@ -1790,7 +1791,6 @@ main(int argc, char *argv[]) {
logp = fopen(logfile, "a");
setbuf(stdout, NULL);
sel = status = newbuf("status");
- sel->need_redraw = REDRAW_ALL;
printf(CLEAR);
draw();
run();