[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.303 and 1.304

version 1.303, 2018/07/04 09:44:07 version 1.304, 2018/08/18 16:14:03
Line 698 
Line 698 
                 tty_putn(tty, s, n, n);                  tty_putn(tty, s, n, n);
 }  }
   
   /* How many lines are taken up by the status line on this client? */
   u_int
   tty_status_lines(struct client *c)
   {
           u_int   lines;
   
           if (c->flags & CLIENT_STATUSOFF)
                   lines = 0;
           else
                   lines = status_line_size(c->session);
           if (c->message_string != NULL || c->prompt_string != NULL)
                   lines = (lines == 0) ? 1 : lines;
           return (lines);
   }
   
 /*  /*
  * Is the region large enough to be worth redrawing once later rather than   * Is the region large enough to be worth redrawing once later rather than
  * probably several times now? Currently yes if it is more than 50% of the   * probably several times now? Currently yes if it is more than 50% of the

Legend:
Removed from v.1.303  
changed lines
  Added in v.1.304