diff options
author | nicm <nicm> | 2016-10-11 13:21:59 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-11 13:21:59 +0000 |
commit | e45401846f0a423bb90ebd3943041a28b2657631 (patch) | |
tree | 9d5d914a2e67829e5729f775e6f95fb460c36cbc /grid.c | |
parent | 85d7afaefc1e2cf8008575a776ec70f51d24e1a6 (diff) | |
download | rtmux-e45401846f0a423bb90ebd3943041a28b2657631.tar.gz rtmux-e45401846f0a423bb90ebd3943041a28b2657631.tar.bz2 rtmux-e45401846f0a423bb90ebd3943041a28b2657631.zip |
Add static in window-*.c and move some internal functions out of tmux.h.
Diffstat (limited to 'grid.c')
-rw-r--r-- | grid.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -43,6 +43,8 @@ const struct grid_cell_entry grid_default_entry = { 0, { .data = { 0, 8, 8, ' ' } } }; +static void grid_expand_line(struct grid *, u_int, u_int); + static void grid_reflow_copy(struct grid_line *, u_int, struct grid_line *, u_int, u_int); static void grid_reflow_join(struct grid *, u_int *, struct grid_line *, @@ -50,6 +52,7 @@ static void grid_reflow_join(struct grid *, u_int *, struct grid_line *, static void grid_reflow_split(struct grid *, u_int *, struct grid_line *, u_int, u_int); static void grid_reflow_move(struct grid *, u_int *, struct grid_line *); + static size_t grid_string_cells_fg(const struct grid_cell *, int *); static size_t grid_string_cells_bg(const struct grid_cell *, int *); static void grid_string_cells_code(const struct grid_cell *, @@ -243,7 +246,7 @@ grid_scroll_history_region(struct grid *gd, u_int upper, u_int lower) } /* Expand line to fit to cell. */ -void +static void grid_expand_line(struct grid *gd, u_int py, u_int sx) { struct grid_line *gl; |