mirror of https://github.com/tmux/tmux.git
Add function comments.
parent
28a5bc8fae
commit
03519021b9
2
grid.c
2
grid.c
|
@ -145,12 +145,14 @@ grid_extended_cell(struct grid_line *gl, struct grid_cell_entry *gce,
|
||||||
return (gcp);
|
return (gcp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Get line data. */
|
||||||
struct grid_line *
|
struct grid_line *
|
||||||
grid_get_line(struct grid *gd, u_int line)
|
grid_get_line(struct grid *gd, u_int line)
|
||||||
{
|
{
|
||||||
return (&gd->linedata[line]);
|
return (&gd->linedata[line]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Adjust number of lines. */
|
||||||
void
|
void
|
||||||
grid_adjust_lines(struct grid *gd, u_int lines)
|
grid_adjust_lines(struct grid *gd, u_int lines)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue