dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 954dc438a362ca9d5134bd4752407763ed8daa99
parent c9dcd023ceaa10626c029cc1f6f3c7b2bf24a745
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Mon, 28 Sep 2015 12:13:55 +0200

vt: fix wrong array indices causing invalid write

Diffstat:
vt.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vt.c b/vt.c @@ -306,7 +306,7 @@ static void buffer_clear(Buffer *b) for (int i = 0; i < b->rows; i++) { Row *row = b->lines + i; for (int j = 0; j < b->cols; j++) { - row->cells[i] = cell; + row->cells[j] = cell; row->dirty = true; } }