aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit 399d014bff391009aa6f7bb52000e80558db5d4c
parent 41212a717e9012179e4333a68efdf52f3f3dadab
Author: Tom Lebreux <tomlebreux@cock.li>
Date:   Fri,  5 Apr 2019 19:44:19 -0400

Fix wrong row due to typo

Signed-off-by: Tom Lebreux <tomlebreux@cock.li>

Diffstat:
Mwidgets/terminal.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/widgets/terminal.go b/widgets/terminal.go @@ -286,7 +286,7 @@ func (term *Terminal) Draw(ctx *ui.Context) { for _, rect := range term.damage { for x := rect.StartCol(); x < rect.EndCol() && x < ctx.Width(); x += 1 { - for y := rect.StartCol(); y < rect.EndCol() && y < ctx.Height(); y += 1 { + for y := rect.StartRow(); y < rect.EndRow() && y < ctx.Height(); y += 1 { coords := coords{x, y} if _, ok := visited[coords]; ok {