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

Diff for /src/usr.bin/tmux/tty.c between version 1.221 and 1.222

version 1.221, 2017/01/11 22:36:07 version 1.222, 2017/01/11 23:10:04
Line 1133 
Line 1133 
         struct screen           *s = wp->screen;          struct screen           *s = wp->screen;
         u_int                    cx, width;          u_int                    cx, width;
   
         if (ctx->xoff + ctx->ocx > tty->sx - 1 &&          if (ctx->xoff + ctx->ocx > tty->sx - 1 && ctx->ocy == ctx->orlower) {
             ctx->ocy == ctx->orlower &&                  if (tty_pane_full_width(tty, ctx))
             tty_pane_full_width(tty, ctx))                          tty_region_pane(tty, ctx, ctx->orupper, ctx->orlower);
                 tty_region_pane(tty, ctx, ctx->orupper, ctx->orlower);                  else
         else                          tty_margin_off(tty);
                 tty_region_off(tty);          }
         tty_margin_off(tty);  
   
         /* Is the cursor in the very last position? */          /* Is the cursor in the very last position? */
         width = ctx->cell->data.width;          width = ctx->cell->data.width;

Legend:
Removed from v.1.221  
changed lines
  Added in v.1.222