billiob pushed a commit to branch master.

commit e8499b46aa839cf870a5ecd3df5ca7691ba80dc4
Author: Boris Faure <[email protected]>
Date:   Thu May 23 22:34:14 2013 +0200

    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 baec410..5259b51 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;

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Reply via email to