[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.71 and 1.72

version 1.71, 2009/11/18 17:02:17 version 1.72, 2009/11/26 14:46:08
Line 569 
Line 569 
         if (tty_term_has(tty->term, TTYC_ICH) ||          if (tty_term_has(tty->term, TTYC_ICH) ||
             tty_term_has(tty->term, TTYC_ICH1))              tty_term_has(tty->term, TTYC_ICH1))
                 tty_emulate_repeat(tty, TTYC_ICH, TTYC_ICH1, ctx->num);                  tty_emulate_repeat(tty, TTYC_ICH, TTYC_ICH1, ctx->num);
         else {          else if (tty_term_has(tty->term, TTYC_SMIR) &&
               tty_term_has(tty->term, TTYC_RMIR)) {
                 tty_putcode(tty, TTYC_SMIR);                  tty_putcode(tty, TTYC_SMIR);
                 for (i = 0; i < ctx->num; i++)                  for (i = 0; i < ctx->num; i++)
                         tty_putc(tty, ' ');                          tty_putc(tty, ' ');
                 tty_putcode(tty, TTYC_RMIR);                  tty_putcode(tty, TTYC_RMIR);
         }          } else
                   tty_draw_line(tty, wp->screen, ctx->ocy, wp->xoff, wp->yoff);
 }  }
   
 void  void
Line 606 
Line 608 
         struct screen           *s = wp->screen;          struct screen           *s = wp->screen;
   
         if (wp->xoff != 0 || screen_size_x(s) < tty->sx ||          if (wp->xoff != 0 || screen_size_x(s) < tty->sx ||
             !tty_term_has(tty->term, TTYC_CSR)) {              !tty_term_has(tty->term, TTYC_CSR) ||
               !tty_term_has(tty->term, TTYC_IL1)) {
                 tty_redraw_region(tty, ctx);                  tty_redraw_region(tty, ctx);
                 return;                  return;
         }          }
Line 626 
Line 629 
         struct screen           *s = wp->screen;          struct screen           *s = wp->screen;
   
         if (wp->xoff != 0 || screen_size_x(s) < tty->sx ||          if (wp->xoff != 0 || screen_size_x(s) < tty->sx ||
             !tty_term_has(tty->term, TTYC_CSR)) {              !tty_term_has(tty->term, TTYC_CSR) ||
               !tty_term_has(tty->term, TTYC_DL1)) {
                 tty_redraw_region(tty, ctx);                  tty_redraw_region(tty, ctx);
                 return;                  return;
         }          }

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72