[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.145 and 1.146

version 1.145, 2012/11/22 14:41:11 version 1.146, 2013/01/15 23:18:55
Line 719 
Line 719 
 }  }
   
 void  void
   tty_cmd_clearcharacter(struct tty *tty, const struct tty_ctx *ctx)
   {
           u_int   i;
   
           tty_reset(tty);
   
           tty_cursor_pane(tty, ctx, ctx->ocx, ctx->ocy);
   
           if (tty_term_has(tty->term, TTYC_ECH))
                   tty_putcode1(tty, TTYC_ECH, ctx->num);
           else {
                   for (i = 0; i < ctx->num; i++)
                           tty_putc(tty, ' ');
           }
   }
   
   void
 tty_cmd_insertline(struct tty *tty, const struct tty_ctx *ctx)  tty_cmd_insertline(struct tty *tty, const struct tty_ctx *ctx)
 {  {
         if (!tty_pane_full_width(tty, ctx) ||          if (!tty_pane_full_width(tty, ctx) ||

Legend:
Removed from v.1.145  
changed lines
  Added in v.1.146