[BACK]Return to status.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/status.c between version 1.175 and 1.176

version 1.175, 2018/02/05 08:21:54 version 1.176, 2018/02/22 11:42:41
Line 806 
Line 806 
         struct screen            old_status;          struct screen            old_status;
         u_int                    i, offset, left, start, pcursor, pwidth, width;          u_int                    i, offset, left, start, pcursor, pwidth, width;
         u_int                    lines;          u_int                    lines;
         size_t                   len;  
         struct grid_cell         gc, cursorgc;          struct grid_cell         gc, cursorgc;
   
         if (c->tty.sx == 0 || c->tty.sy == 0)          if (c->tty.sx == 0 || c->tty.sy == 0)
Line 819 
Line 818 
                 screen_init(&c->status.status, c->tty.sx, 1, 0);                  screen_init(&c->status.status, c->tty.sx, 1, 0);
         } else          } else
                 screen_init(&c->status.status, c->tty.sx, lines, 0);                  screen_init(&c->status.status, c->tty.sx, lines, 0);
   
         len = screen_write_strlen("%s", c->prompt_string);  
         if (len > c->tty.sx)  
                 len = c->tty.sx;  
   
         if (c->prompt_mode == PROMPT_COMMAND)          if (c->prompt_mode == PROMPT_COMMAND)
                 style_apply(&gc, s->options, "message-command-style");                  style_apply(&gc, s->options, "message-command-style");

Legend:
Removed from v.1.175  
changed lines
  Added in v.1.176