[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.44 and 1.45

version 1.44, 2009/10/12 16:37:43 version 1.45, 2009/10/12 16:41:02
Line 968 
Line 968 
                 goto out;                  goto out;
         }          }
   
         /* Row staying the same. */          /* Moving column or row. */
         if (cy == thisy) {          if (cy == thisy) {
                   /*
                    * Moving column only, row staying the same.
                    */
   
                 /* To left edge. */                  /* To left edge. */
                 if (cx == 0)    {                  if (cx == 0)    {
                         tty_putc(tty, '\r');                          tty_putc(tty, '\r');
Line 1005 
Line 1009 
                         tty_putcode1(tty, TTYC_CUF, -change);                          tty_putcode1(tty, TTYC_CUF, -change);
                         goto out;                          goto out;
                 }                  }
         }          } else if (cx == thisx) {
                   /*
                    * Moving row only, column staying the same.
                    */
   
         /* Column staying the same. */  
         if (cx == thisx ) {  
                 /* One above. */                  /* One above. */
                 if (cy != tty->rupper &&                  if (cy != tty->rupper &&
                     cy == thisy - 1 && tty_term_has(term, TTYC_CUU1)) {                      cy == thisy - 1 && tty_term_has(term, TTYC_CUU1)) {

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45