# tty_cmd_cell

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2044
- **Page:** https://libtmux.org/en/tmux/latest/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/latest/reference/c-function-tty_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2079)
- [`tty_check_overlay_range`](/en/tmux/latest/reference/c-function-tty_check_overlay_range/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2059)
- [`tty_cursor_pane_unless_wrap`](/en/tmux/latest/reference/c-function-tty-c-tty_cursor_pane_unless_wrap/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2077)
- [`tty_draw_line`](/en/tmux/latest/reference/c-function-tty_draw_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2063)
- [`tty_invalidate`](/en/tmux/latest/reference/c-function-tty_invalidate/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2076)
- [`tty_is_visible`](/en/tmux/latest/reference/c-function-tty-c-tty_is_visible/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2053)
- [`tty_margin_off`](/en/tmux/latest/reference/c-function-tty_margin_off/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2074)
- [`tty_region_pane`](/en/tmux/latest/reference/c-function-tty-c-tty_region_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2072)

## Other function references

- [`tty_check_overlay`](/en/tmux/latest/reference/c-function-tty-c-tty_check_overlay/) (function)

## Referenced by

- [`screen_write_cell`](/en/tmux/latest/reference/c-function-screen_write_cell/) (function)
- [`screen_write_combine`](/en/tmux/latest/reference/c-function-screen-write-c-screen_write_combine/) (function)
- [`screen_write_fast_copy`](/en/tmux/latest/reference/c-function-screen_write_fast_copy/) (function)
- [`screen_write_redraw_line`](/en/tmux/latest/reference/c-function-screen-write-c-screen_write_redraw_line/) (function)

## Referenced declarations

- [`tty_ctx.cell`](/en/tmux/latest/reference/c-struct-tty_ctx-cell/) (attribute)
- [`screen.cx`](/en/tmux/latest/reference/c-struct-screen-cx/) (attribute)
- [`screen.cy`](/en/tmux/latest/reference/c-struct-screen-cy/) (attribute)
- [`grid_cell.data`](/en/tmux/latest/reference/c-struct-grid_cell-data/) (attribute)
- [`tty_ctx.defaults`](/en/tmux/latest/reference/c-struct-tty_ctx-defaults/) (attribute)
- [`tty_ctx.flags`](/en/tmux/latest/reference/c-struct-tty_ctx-flags/) (attribute)
- [`screen.hyperlinks`](/en/tmux/latest/reference/c-struct-screen-hyperlinks/) (attribute)
- [`visible_range.nx`](/en/tmux/latest/reference/c-struct-visible_range-nx/) (attribute)
- [`tty_ctx.ocx`](/en/tmux/latest/reference/c-struct-tty_ctx-ocx/) (attribute)
- [`tty_ctx.ocy`](/en/tmux/latest/reference/c-struct-tty_ctx-ocy/) (attribute)
- [`tty_ctx.orlower`](/en/tmux/latest/reference/c-struct-tty_ctx-orlower/) (attribute)
- [`tty_ctx.orupper`](/en/tmux/latest/reference/c-struct-tty_ctx-orupper/) (attribute)
- [`tty_ctx.palette`](/en/tmux/latest/reference/c-struct-tty_ctx-palette/) (attribute)
- [`visible_ranges.ranges`](/en/tmux/latest/reference/c-struct-visible_ranges-ranges/) (attribute)
- [`tty_ctx.s`](/en/tmux/latest/reference/c-struct-tty_ctx-s/) (attribute)
- [`tty.sx`](/en/tmux/latest/reference/c-struct-tty-sx/) (attribute)
- [`tty`](/en/tmux/latest/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/latest/reference/c-struct-tty_ctx/) (struct)
- [`TTY_CTX_CELL_INVALIDATE`](/en/tmux/latest/reference/c-define-tmux-h-tty_ctx_cell_invalidate/) (constant)
- [`tty_full_width`](/en/tmux/latest/reference/c-define-tty-c-tty_full_width/) (constant)
- [`visible_ranges.used`](/en/tmux/latest/reference/c-struct-visible_ranges-used/) (attribute)
- [`utf8_data.width`](/en/tmux/latest/reference/c-struct-utf8_data-width/) (attribute)
- [`tty_ctx.wox`](/en/tmux/latest/reference/c-struct-tty_ctx-wox/) (attribute)
- [`tty_ctx.woy`](/en/tmux/latest/reference/c-struct-tty_ctx-woy/) (attribute)
- [`tty_ctx.xoff`](/en/tmux/latest/reference/c-struct-tty_ctx-xoff/) (attribute)
- [`tty_ctx.yoff`](/en/tmux/latest/reference/c-struct-tty_ctx-yoff/) (attribute)
