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

Diff for /src/usr.bin/tmux/grid.c between version 1.94 and 1.95

version 1.94, 2019/05/13 20:10:23 version 1.95, 2019/05/26 17:34:45
Line 1350 
Line 1350 
         *px = wx;          *px = wx;
         *py = yy;          *py = yy;
 }  }
   
   /* Get length of line. */
   u_int
   grid_line_length(struct grid *gd, u_int py)
   {
           struct grid_cell        gc;
           u_int                   px;
   
           px = grid_get_line(gd, py)->cellsize;
           if (px > gd->sx)
                   px = gd->sx;
           while (px > 0) {
                   grid_get_cell(gd, px - 1, py, &gc);
                   if (gc.data.size != 1 || *gc.data.data != ' ')
                           break;
                   px--;
           }
           return (px);
   }

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95