[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.146 and 1.147

version 1.146, 2019/03/12 18:30:08 version 1.147, 2019/03/12 20:02:47
Line 1034 
Line 1034 
   
 /* Move cursor to px,py. */  /* Move cursor to px,py. */
 void  void
 screen_write_cursormove(struct screen_write_ctx *ctx, int px, int py)  screen_write_cursormove(struct screen_write_ctx *ctx, int px, int py,
       int origin)
 {  {
         struct screen   *s = ctx->s;          struct screen   *s = ctx->s;
   
         if (py != -1 && (s->mode & MODE_ORIGIN)) {          if (origin && py != -1 && (s->mode & MODE_ORIGIN)) {
                 if ((u_int)py > s->rlower - s->rupper)                  if ((u_int)py > s->rlower - s->rupper)
                         py = s->rlower;                          py = s->rlower;
                 else                  else

Legend:
Removed from v.1.146  
changed lines
  Added in v.1.147