[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.214 and 1.215

version 1.214, 2016/11/15 15:17:28 version 1.215, 2016/11/16 13:31:22
Line 1004 
Line 1004 
          * off the edge - if so, move the cursor back to the right.           * off the edge - if so, move the cursor back to the right.
          */           */
         if (ctx->xoff + ctx->ocx > tty->rright)          if (ctx->xoff + ctx->ocx > tty->rright)
                 tty_cursor(tty, tty->rright, ctx->yoff + ctx->ocy);                  tty_cursor(tty, tty->rright, tty->rlower);
         else          else
                 tty_cursor_pane(tty, ctx, ctx->ocx, ctx->ocy);                  tty_cursor_pane(tty, ctx, ctx->ocx, ctx->ocy);
   
Line 1134 
Line 1134 
         struct screen           *s = wp->screen;          struct screen           *s = wp->screen;
         u_int                    cx, width;          u_int                    cx, width;
   
         if (ctx->ocy == ctx->orlower)          if (ctx->xoff + ctx->ocx > tty->sx - 1 &&
               ctx->yoff + ctx->ocy == ctx->orlower &&
               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
                   tty_region_off(tty);
         tty_margin_off(tty);          tty_margin_off(tty);
   
         /* Is the cursor in the very last position? */          /* Is the cursor in the very last position? */

Legend:
Removed from v.1.214  
changed lines
  Added in v.1.215