# tty_cmd_cell

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

```c
void tty_cmd_cell(struct tty *tty, const struct tty_ctx *ctx)
```

## Parameters

- `tty` (`struct tty *`)
- `ctx` (`const struct tty_ctx *`)

## Calls

- [`tty_cell`](/en/tmux/3.2a/reference/c-function-tty_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1858)
- [`tty_cursor_pane_unless_wrap`](/en/tmux/3.2a/reference/c-function-tty-c-tty_cursor_pane_unless_wrap/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1856)
- [`tty_is_visible`](/en/tmux/3.2a/reference/c-function-tty-c-tty_is_visible/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1847)
- [`tty_margin_off`](/en/tmux/3.2a/reference/c-function-tty_margin_off/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1855)
- [`tty_region_pane`](/en/tmux/3.2a/reference/c-function-tty-c-tty_region_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1853)

## Referenced by

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

## Referenced declarations

- [`tty_ctx.cell`](/en/tmux/3.2a/reference/c-struct-tty_ctx-cell/) (attribute)
- [`tty_ctx.defaults`](/en/tmux/3.2a/reference/c-struct-tty_ctx-defaults/) (attribute)
- [`tty_ctx.ocx`](/en/tmux/3.2a/reference/c-struct-tty_ctx-ocx/) (attribute)
- [`tty_ctx.ocy`](/en/tmux/3.2a/reference/c-struct-tty_ctx-ocy/) (attribute)
- [`tty_ctx.orlower`](/en/tmux/3.2a/reference/c-struct-tty_ctx-orlower/) (attribute)
- [`tty_ctx.orupper`](/en/tmux/3.2a/reference/c-struct-tty_ctx-orupper/) (attribute)
- [`tty_ctx.palette`](/en/tmux/3.2a/reference/c-struct-tty_ctx-palette/) (attribute)
- [`tty.sx`](/en/tmux/3.2a/reference/c-struct-tty-sx/) (attribute)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/3.2a/reference/c-struct-tty_ctx/) (struct)
- [`tty_full_width`](/en/tmux/3.2a/reference/c-define-tty-c-tty_full_width/) (constant)
- [`tty_ctx.wox`](/en/tmux/3.2a/reference/c-struct-tty_ctx-wox/) (attribute)
- [`tty_ctx.xoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-xoff/) (attribute)
