[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.103 and 1.104

version 1.103, 2020/03/21 13:51:30 version 1.104, 2020/03/31 17:13:20
Line 351 
Line 351 
                 gd->hscrolled = gd->hsize;                  gd->hscrolled = gd->hsize;
 }  }
   
   /* Remove lines from the bottom of the history. */
   void
   grid_remove_history(struct grid *gd, u_int ny)
   {
           u_int   yy;
   
           if (ny > gd->hsize)
                   return;
           for (yy = 0; yy < ny; yy++)
                   grid_free_line(gd, gd->hsize + gd->sy - 1 - yy);
           gd->hsize -= ny;
   }
   
 /*  /*
  * Scroll the entire visible screen, moving one line into the history. Just   * Scroll the entire visible screen, moving one line into the history. Just
  * allocate a new line at the bottom and move the history size indicator.   * allocate a new line at the bottom and move the history size indicator.

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104