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

Diff for /src/usr.bin/tmux/screen.c between version 1.40 and 1.41

version 1.40, 2016/09/02 20:57:20 version 1.41, 2016/10/10 21:29:23
Line 24 
Line 24 
   
 #include "tmux.h"  #include "tmux.h"
   
 void    screen_resize_x(struct screen *, u_int);  static void     screen_resize_x(struct screen *, u_int);
 void    screen_resize_y(struct screen *, u_int);  static void     screen_resize_y(struct screen *, u_int);
   
 /* Create a new screen. */  /* Create a new screen. */
 void  void
Line 139 
Line 139 
                 screen_reflow(s, sx);                  screen_reflow(s, sx);
 }  }
   
 void  static void
 screen_resize_x(struct screen *s, u_int sx)  screen_resize_x(struct screen *s, u_int sx)
 {  {
         struct grid             *gd = s->grid;          struct grid             *gd = s->grid;
Line 161 
Line 161 
         gd->sx = sx;          gd->sx = sx;
 }  }
   
 void  static void
 screen_resize_y(struct screen *s, u_int sy)  screen_resize_y(struct screen *s, u_int sy)
 {  {
         struct grid     *gd = s->grid;          struct grid     *gd = s->grid;
Line 221 
Line 221 
                 needed = sy - oldy;                  needed = sy - oldy;
   
                 /*                  /*
                  * Try to pull as much as possible out of scrolled history, if is                   * Try to pull as much as possible out of scrolled history, if
                  * is enabled.                   * is is enabled.
                  */                   */
                 available = gd->hscrolled;                  available = gd->hscrolled;
                 if (gd->flags & GRID_HISTORY && available > 0) {                  if (gd->flags & GRID_HISTORY && available > 0) {

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41