# tty_cmd_alignmenttest

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

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

## Parameters

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

## Calls

- [`tty_attributes`](/en/tmux/3.2a/reference/c-function-tty_attributes/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1832)
- [`tty_cursor_pane`](/en/tmux/3.2a/reference/c-function-tty-c-tty_cursor_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1838)
- [`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#L1835)
- [`tty_putc`](/en/tmux/3.2a/reference/c-function-tty_putc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1840)
- [`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#L1834)

## Referenced by

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

## Referenced declarations

- [`tty_ctx.bigger`](/en/tmux/3.2a/reference/c-struct-tty_ctx-bigger/) (attribute)
- [`tty_ctx.defaults`](/en/tmux/3.2a/reference/c-struct-tty_ctx-defaults/) (attribute)
- [`grid_default_cell`](/en/tmux/3.2a/reference/c-variable-grid_default_cell/) (attribute)
- [`tty_ctx.palette`](/en/tmux/3.2a/reference/c-struct-tty_ctx-palette/) (attribute)
- [`tty_ctx.redraw_cb`](/en/tmux/3.2a/reference/c-struct-tty_ctx-redraw_cb/) (attribute)
- [`tty_ctx.sx`](/en/tmux/3.2a/reference/c-struct-tty_ctx-sx/) (attribute)
- [`tty_ctx.sy`](/en/tmux/3.2a/reference/c-struct-tty_ctx-sy/) (attribute)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/3.2a/reference/c-struct-tty_ctx/) (struct)
