[BACK]Return to screen-write.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/screen-write.c between version 1.54 and 1.55

version 1.54, 2012/03/14 23:29:07 version 1.55, 2012/03/17 17:36:03
Line 1071 
Line 1071 
                 return;                  return;
         }          }
   
           /* Initialise the redraw context, saving the last cell. */
           screen_write_initctx(ctx, &ttyctx, 1);
   
         /* If in insert mode, make space for the cells. */          /* If in insert mode, make space for the cells. */
         if (s->mode & MODE_INSERT && s->cx <= screen_size_x(s) - width) {          if ((s->mode & MODE_INSERT) && s->cx <= screen_size_x(s) - width) {
                 xx = screen_size_x(s) - s->cx - width;                  xx = screen_size_x(s) - s->cx - width;
                 grid_move_cells(s->grid, s->cx + width, s->cx, s->cy, xx);                  grid_move_cells(s->grid, s->cx + width, s->cx, s->cy, xx);
                 insert = 1;                  insert = 1;
Line 1083 
Line 1086 
                 screen_write_linefeed(ctx, 1);                  screen_write_linefeed(ctx, 1);
                 s->cx = 0;      /* carriage return */                  s->cx = 0;      /* carriage return */
         }          }
   
         /* Initialise the redraw context, saving the last cell. */  
         screen_write_initctx(ctx, &ttyctx, 1);  
   
         /* Sanity checks. */          /* Sanity checks. */
         if (((s->mode & MODE_WRAP) && s->cx > screen_size_x(s) - width)          if (((s->mode & MODE_WRAP) && s->cx > screen_size_x(s) - width)

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55