fix reflow on horizonal expansion

This commit is contained in:
Boris Faure 2013-05-23 22:34:14 +02:00
parent 17a70c5ba2
commit e8499b46aa
1 changed files with 1 additions and 0 deletions

View File

@ -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;