circo

claudio's IRC oasis
git clone git://git.bitsmanent.org/circo
Log | Files | Refs | README | LICENSE

commit f53aa76473981dfd1ff3770df2fd5945b1afda0f
parent 8a406b1fdef4ab8223acca43b31a9cb9fd008877
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Mon, 31 Jul 2017 21:48:19 +0200

Fix missing redraw flag in scroll()

Diffstat:
Mcirco.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/circo.c b/circo.c @@ -942,7 +942,7 @@ scroll(const Arg *arg) { if(arg->i == 0) { sel->line = 0; sel->lnoff = 0; - sel->need_redraw |= REDRAW_BUFFER; + sel->need_redraw |= (REDRAW_BUFFER | REDRAW_BAR); return; } if(!sel->line) @@ -953,7 +953,7 @@ scroll(const Arg *arg) { else if(sel->line > sel->nlines - bufh) sel->line = 0; sel->lnoff = bufinfo(sel->data, sel->len, sel->line, LineToOffset); - sel->need_redraw |= REDRAW_BUFFER; + sel->need_redraw |= (REDRAW_BUFFER | REDRAW_BAR); } void