Use grid_empty_line rather than memset when adding new lines on resize.

Also remove some old test code.
This commit is contained in:
nicm
2020-04-15 12:59:20 +00:00
parent b9a00cbe8a
commit c7883d5c87
3 changed files with 4 additions and 14 deletions

1
tmux.h
View File

@ -2312,6 +2312,7 @@ int attributes_fromstring(const char *);
/* grid.c */
extern const struct grid_cell grid_default_cell;
void grid_empty_line(struct grid *, u_int, u_int);
int grid_cells_equal(const struct grid_cell *, const struct grid_cell *);
struct grid *grid_create(u_int, u_int, u_int);
void grid_destroy(struct grid *);