[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.281 and 1.282

version 1.281, 2017/05/12 23:10:19 version 1.282, 2017/05/13 07:30:50
Line 1145 
Line 1145 
 tty_cmd_clearstartofline(struct tty *tty, const struct tty_ctx *ctx)  tty_cmd_clearstartofline(struct tty *tty, const struct tty_ctx *ctx)
 {  {
         struct window_pane      *wp = ctx->wp;          struct window_pane      *wp = ctx->wp;
         u_int                    nx, py = ctx->yoff + ctx->ocy;          u_int                    py = ctx->yoff + ctx->ocy;
   
         tty_default_attributes(tty, wp, ctx->bg);          tty_default_attributes(tty, wp, ctx->bg);
   
         nx = screen_size_x(wp->screen) - ctx->ocx;  
         tty_clear_line(tty, wp, py, ctx->xoff, ctx->ocx + 1, ctx->bg);          tty_clear_line(tty, wp, py, ctx->xoff, ctx->ocx + 1, ctx->bg);
 }  }
   

Legend:
Removed from v.1.281  
changed lines
  Added in v.1.282