[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.332 and 1.333

version 1.332, 2019/09/19 08:56:37 version 1.333, 2019/11/14 07:56:32
Line 2106 
Line 2106 
                 if ((u_int) abs(change) > cx && tty_term_has(term, TTYC_HPA)) {                  if ((u_int) abs(change) > cx && tty_term_has(term, TTYC_HPA)) {
                         tty_putcode1(tty, TTYC_HPA, cx);                          tty_putcode1(tty, TTYC_HPA, cx);
                         goto out;                          goto out;
                 } else if (change > 0 && tty_term_has(term, TTYC_CUB)) {                  } else if (change > 0 &&
                       tty_term_has(term, TTYC_CUB) &&
                       !tty_use_margin(tty)) {
                         if (change == 2 && tty_term_has(term, TTYC_CUB1)) {                          if (change == 2 && tty_term_has(term, TTYC_CUB1)) {
                                 tty_putcode(tty, TTYC_CUB1);                                  tty_putcode(tty, TTYC_CUB1);
                                 tty_putcode(tty, TTYC_CUB1);                                  tty_putcode(tty, TTYC_CUB1);
Line 2114 
Line 2116 
                         }                          }
                         tty_putcode1(tty, TTYC_CUB, change);                          tty_putcode1(tty, TTYC_CUB, change);
                         goto out;                          goto out;
                 } else if (change < 0 && tty_term_has(term, TTYC_CUF)) {                  } else if (change < 0 &&
                       tty_term_has(term, TTYC_CUF) &&
                       !tty_use_margin(tty)) {
                         tty_putcode1(tty, TTYC_CUF, -change);                          tty_putcode1(tty, TTYC_CUF, -change);
                         goto out;                          goto out;
                 }                  }

Legend:
Removed from v.1.332  
changed lines
  Added in v.1.333