[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.272 and 1.273

version 1.272, 2017/05/10 18:40:13 version 1.273, 2017/05/11 11:38:49
Line 846 
Line 846 
         tty_region_off(tty);          tty_region_off(tty);
         tty_margin_off(tty);          tty_margin_off(tty);
   
           /*
            * Clamp the width to cellsize - note this is not cellused, because
            * there may be empty background cells after it (from BCE).
            */
         sx = screen_size_x(s);          sx = screen_size_x(s);
         if (sx > s->grid->linedata[s->grid->hsize + py].cellused)          if (sx > s->grid->linedata[s->grid->hsize + py].cellsize)
                 sx = s->grid->linedata[s->grid->hsize + py].cellused;                  sx = s->grid->linedata[s->grid->hsize + py].cellsize;
         if (sx > tty->sx)          if (sx > tty->sx)
                 sx = tty->sx;                  sx = tty->sx;
   

Legend:
Removed from v.1.272  
changed lines
  Added in v.1.273