version 1.105, 2020/04/09 13:53:50 |
version 1.106, 2020/04/15 12:59:20 |
|
|
GRID_FLAG_CLEARED, { .data = { 0, 8, 8, ' ' } } |
GRID_FLAG_CLEARED, { .data = { 0, 8, 8, ' ' } } |
}; |
}; |
|
|
static void grid_empty_line(struct grid *, u_int, u_int); |
|
|
|
/* Store cell in entry. */ |
/* Store cell in entry. */ |
static void |
static void |
grid_store_cell(struct grid_cell_entry *gce, const struct grid_cell *gc, |
grid_store_cell(struct grid_cell_entry *gce, const struct grid_cell *gc, |
|
|
} |
} |
|
|
/* Empty a line and set background colour if needed. */ |
/* Empty a line and set background colour if needed. */ |
static void |
void |
grid_empty_line(struct grid *gd, u_int py, u_int bg) |
grid_empty_line(struct grid *gd, u_int py, u_int bg) |
{ |
{ |
memset(&gd->linedata[py], 0, sizeof gd->linedata[py]); |
memset(&gd->linedata[py], 0, sizeof gd->linedata[py]); |