From e8499b46aa839cf870a5ecd3df5ca7691ba80dc4 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Thu, 23 May 2013 22:34:14 +0200 Subject: [PATCH] fix reflow on horizonal expansion --- src/bin/termpty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/termpty.c b/src/bin/termpty.c index baec4103..5259b517 100644 --- a/src/bin/termpty.c +++ b/src/bin/termpty.c @@ -621,6 +621,7 @@ _termpty_horizontally_expand(Termpty *ty, int old_w, int old_h, { rewrapping = EINA_TRUE; new_ts = termpty_save_new(ty->w); + new_ts->w = ts->w; termpty_cell_copy(ty, ts->cell, new_ts->cell, ts->w); new_ts->cell[ts->w - 1].att.autowrapped = 0; new_back[new_back_pos++] = new_ts;