[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.387 and 1.388

version 1.387, 2020/12/03 07:12:12 version 1.388, 2021/01/18 10:27:54
Line 1531 
Line 1531 
 void  void
 tty_cmd_clearcharacter(struct tty *tty, const struct tty_ctx *ctx)  tty_cmd_clearcharacter(struct tty *tty, const struct tty_ctx *ctx)
 {  {
         if (ctx->bigger) {  
                 tty_draw_pane(tty, ctx, ctx->ocy);  
                 return;  
         }  
   
         tty_default_attributes(tty, &ctx->defaults, ctx->palette, ctx->bg);          tty_default_attributes(tty, &ctx->defaults, ctx->palette, ctx->bg);
   
         tty_cursor_pane(tty, ctx, ctx->ocx, ctx->ocy);          tty_clear_pane_line(tty, ctx, ctx->ocy, ctx->ocx, ctx->num, ctx->bg);
   
         if (tty_term_has(tty->term, TTYC_ECH) &&  
             !tty_fake_bce(tty, &ctx->defaults, 8))  
                 tty_putcode1(tty, TTYC_ECH, ctx->num);  
         else  
                 tty_repeat_space(tty, ctx->num);  
 }  }
   
 void  void

Legend:
Removed from v.1.387  
changed lines
  Added in v.1.388