mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Loads more static, except for cmd-*.c and window-*.c.
This commit is contained in:
12
screen.c
12
screen.c
@ -24,8 +24,8 @@
|
||||
|
||||
#include "tmux.h"
|
||||
|
||||
void screen_resize_x(struct screen *, u_int);
|
||||
void screen_resize_y(struct screen *, u_int);
|
||||
static void screen_resize_x(struct screen *, u_int);
|
||||
static void screen_resize_y(struct screen *, u_int);
|
||||
|
||||
/* Create a new screen. */
|
||||
void
|
||||
@ -139,7 +139,7 @@ screen_resize(struct screen *s, u_int sx, u_int sy, int reflow)
|
||||
screen_reflow(s, sx);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
screen_resize_x(struct screen *s, u_int sx)
|
||||
{
|
||||
struct grid *gd = s->grid;
|
||||
@ -161,7 +161,7 @@ screen_resize_x(struct screen *s, u_int sx)
|
||||
gd->sx = sx;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
screen_resize_y(struct screen *s, u_int sy)
|
||||
{
|
||||
struct grid *gd = s->grid;
|
||||
@ -221,8 +221,8 @@ screen_resize_y(struct screen *s, u_int sy)
|
||||
needed = sy - oldy;
|
||||
|
||||
/*
|
||||
* Try to pull as much as possible out of scrolled history, if is
|
||||
* is enabled.
|
||||
* Try to pull as much as possible out of scrolled history, if
|
||||
* is is enabled.
|
||||
*/
|
||||
available = gd->hscrolled;
|
||||
if (gd->flags & GRID_HISTORY && available > 0) {
|
||||
|
Reference in New Issue
Block a user