commit 2434a40db774fb83ff2214b1a871dca519449e6c
parent 50d1acd81d87394b57513a91419c7445dbd00315
Author: Claudio Alessi <smoppy@gmail.com>
Date: Fri, 28 Jul 2017 00:12:10 +0200
Clear the screen when resize.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/circo.c b/circo.c
@@ -829,6 +829,7 @@ resize(int x, int y) {
if(sel->line && sel->lnoff)
sel->lnoff = bufinfo(sel->data, sel->len, sel->line, LineToOffset);
sel->nlines = bufinfo(sel->data, sel->len, 0, TotalLines);
+ printf(CLEAR);
draw();
}
}