[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.276 and 1.277

version 1.276, 2017/05/12 11:13:43 version 1.277, 2017/05/12 11:19:24
Line 834 
Line 834 
                  * If margins are supported, can just scroll the area off to                   * If margins are supported, can just scroll the area off to
                  * clear it.                   * clear it.
                  */                   */
                 if (tty_use_margin(tty) && tty_term_has(tty->term, TTYC_INDN)) {                  if (nx > 2 &&
                       ny > 2 &&
                       tty_use_margin(tty) &&
                       tty_term_has(tty->term, TTYC_INDN)) {
                         tty_region(tty, py, py + ny - 1);                          tty_region(tty, py, py + ny - 1);
                         tty_margin(tty, px, px + nx - 1);                          tty_margin(tty, px, px + nx - 1);
                         tty_putcode1(tty, TTYC_INDN, ny);                          tty_putcode1(tty, TTYC_INDN, ny);

Legend:
Removed from v.1.276  
changed lines
  Added in v.1.277