dvtm

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

commit fb25efb0736a2fe6afc5c65d643e77a6bd62bc94
parent 4ab5ed57a3b53e0271cf50f256cd7904c50cac55
Author: Mark Edgar <medgar123@gmail.com>
Date:   Tue,  4 Jun 2013 13:34:44 +0200

Fix insert-mode bug

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

diff --git a/vt.c b/vt.c @@ -1151,7 +1151,7 @@ static void put_wc(Vt *t, wchar_t wc) Cell *src = b->curs_row->cells + b->curs_col; Cell *dest = src + width; size_t len = b->cols - b->curs_col - width; - memmove(dest, src, len); + memmove(dest, src, len * sizeof *dest); } b->curs_row->cells[b->curs_col] = blank_cell;