# screen_write_combine

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L1865
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-screen-write-c-screen_write_combine/

```c
static const struct grid_cell * screen_write_combine(struct screen_write_ctx *, const struct utf8_data *, u_int *)
```

## Parameters

- `ctx` (`struct screen_write_ctx *`)
- `ud` (`const struct utf8_data *`)
- `xx` (`u_int *`)

## Calls

- [`fatalx`](/en/tmux/3.2a/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L1879)
- [`grid_view_get_cell`](/en/tmux/3.2a/reference/c-function-grid_view_get_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L1883)
- [`grid_view_set_cell`](/en/tmux/3.2a/reference/c-function-grid_view_set_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L1903)
- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L1895)

## Referenced by

- [`screen_write_cell`](/en/tmux/3.2a/reference/c-function-screen_write_cell/) (function)

## Referenced declarations

- [`screen.cx`](/en/tmux/3.2a/reference/c-struct-screen-cx/) (attribute)
- [`screen.cy`](/en/tmux/3.2a/reference/c-struct-screen-cy/) (attribute)
- [`grid_cell.data`](/en/tmux/3.2a/reference/c-struct-grid_cell-data/) (attribute)
- [`utf8_data.data`](/en/tmux/3.2a/reference/c-struct-utf8_data-data/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.2a/reference/c-struct-grid_cell-flags/) (attribute)
- [`screen.grid`](/en/tmux/3.2a/reference/c-struct-screen-grid/) (attribute)
- [`grid_cell`](/en/tmux/3.2a/reference/c-struct-grid_cell/) (struct)
- [`GRID_FLAG_PADDING`](/en/tmux/3.2a/reference/c-define-tmux-h-grid_flag_padding/) (constant)
- [`screen_write_ctx.s`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`screen_write_ctx`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx/) (struct)
- [`utf8_data.size`](/en/tmux/3.2a/reference/c-struct-utf8_data-size/) (attribute)
- [`utf8_data`](/en/tmux/3.2a/reference/c-struct-utf8_data/) (struct)
