# grid_reflow_split

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L1206
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-grid-c-grid_reflow_split/

```c
static void grid_reflow_split(struct grid *target, struct grid *gd, u_int sx, u_int yy, u_int at)
```

## Parameters

- `target` (`struct grid *`)
- `gd` (`struct grid *`)
- `sx` (`u_int`)
- `yy` (`u_int`)
- `at` (`u_int`)

## Called by

- [`grid_reflow`](/en/tmux/3.2a/reference/c-function-grid_reflow/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L1330)

## Calls

- [`grid_get_cell1`](/en/tmux/3.2a/reference/c-function-grid-c-grid_get_cell1/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L1222)
- [`grid_reflow_add`](/en/tmux/3.2a/reference/c-function-grid-c-grid_reflow_add/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L1233)
- [`grid_reflow_dead`](/en/tmux/3.2a/reference/c-function-grid-c-grid_reflow_dead/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L1258)
- [`grid_reflow_join`](/en/tmux/3.2a/reference/c-function-grid-c-grid_reflow_join/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L1269)
- [`grid_set_cell`](/en/tmux/3.2a/reference/c-function-grid_set_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L1248)

## Referenced declarations

- [`grid_line.cellsize`](/en/tmux/3.2a/reference/c-struct-grid_line-cellsize/) (attribute)
- [`grid_line.cellused`](/en/tmux/3.2a/reference/c-struct-grid_line-cellused/) (attribute)
- [`grid_cell.data`](/en/tmux/3.2a/reference/c-struct-grid_cell-data/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.2a/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_line.flags`](/en/tmux/3.2a/reference/c-struct-grid_line-flags/) (attribute)
- [`grid`](/en/tmux/3.2a/reference/c-struct-grid/) (struct)
- [`GRID_LINE_EXTENDED`](/en/tmux/3.2a/reference/c-define-tmux-h-grid_line_extended/) (constant)
- [`GRID_LINE_WRAPPED`](/en/tmux/3.2a/reference/c-define-tmux-h-grid_line_wrapped/) (constant)
- [`grid.hscrolled`](/en/tmux/3.2a/reference/c-struct-grid-hscrolled/) (attribute)
- [`grid.linedata`](/en/tmux/3.2a/reference/c-struct-grid-linedata/) (attribute)
- [`grid.sy`](/en/tmux/3.2a/reference/c-struct-grid-sy/) (attribute)
- [`utf8_data.width`](/en/tmux/3.2a/reference/c-struct-utf8_data-width/) (attribute)
