[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.121 and 1.122

version 1.121, 2012/03/15 10:36:00 version 1.122, 2012/03/17 17:36:03
Line 1000 
Line 1000 
                          * The pane doesn't fill the entire line, the linefeed                           * The pane doesn't fill the entire line, the linefeed
                          * will already have happened, so just move the cursor.                           * will already have happened, so just move the cursor.
                          */                           */
                         tty_cursor_pane(tty, ctx, 0, ctx->ocy + 1);                          if (ctx->ocy != wp->yoff + wp->sy)
                                   tty_cursor_pane(tty, ctx, 0, ctx->ocy + 1);
                           else
                                   tty_cursor_pane(tty, ctx, 0, ctx->ocy);
                 } else if (tty->cx < tty->sx) {                  } else if (tty->cx < tty->sx) {
                         /*                          /*
                          * The cursor isn't in the last position already, so                           * The cursor isn't in the last position already, so

Legend:
Removed from v.1.121  
changed lines
  Added in v.1.122