# tty_cmd_alignmenttest

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2019
- **Page:** https://libtmux.org/en/tmux/3.7c/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.7c/reference/c-function-tty_attributes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2030)
- [`tty_cursor_pane`](/en/tmux/3.7c/reference/c-function-tty-c-tty_cursor_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2037)
- [`tty_margin_off`](/en/tmux/3.7c/reference/c-function-tty_margin_off/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2034)
- [`tty_putc`](/en/tmux/3.7c/reference/c-function-tty_putc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2039)
- [`tty_region_pane`](/en/tmux/3.7c/reference/c-function-tty-c-tty_region_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2033)

## Referenced by

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

## Referenced declarations

- [`tty.client`](/en/tmux/3.7c/reference/c-struct-tty-client/) (attribute)
- [`tty_ctx.defaults`](/en/tmux/3.7c/reference/c-struct-tty_ctx-defaults/) (attribute)
- [`tty_ctx.flags`](/en/tmux/3.7c/reference/c-struct-tty_ctx-flags/) (attribute)
- [`grid_default_cell`](/en/tmux/3.7c/reference/c-variable-grid_default_cell/) (attribute)
- [`screen.hyperlinks`](/en/tmux/3.7c/reference/c-struct-screen-hyperlinks/) (attribute)
- [`client.overlay_check`](/en/tmux/3.7c/reference/c-struct-client-overlay_check/) (attribute)
- [`tty_ctx.palette`](/en/tmux/3.7c/reference/c-struct-tty_ctx-palette/) (attribute)
- [`tty_ctx.redraw_cb`](/en/tmux/3.7c/reference/c-struct-tty_ctx-redraw_cb/) (attribute)
- [`tty_ctx.s`](/en/tmux/3.7c/reference/c-struct-tty_ctx-s/) (attribute)
- [`tty_ctx.sx`](/en/tmux/3.7c/reference/c-struct-tty_ctx-sx/) (attribute)
- [`tty_ctx.sy`](/en/tmux/3.7c/reference/c-struct-tty_ctx-sy/) (attribute)
- [`tty`](/en/tmux/3.7c/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/3.7c/reference/c-struct-tty_ctx/) (struct)
- [`TTY_CTX_WINDOW_BIGGER`](/en/tmux/3.7c/reference/c-define-tmux-h-tty_ctx_window_bigger/) (constant)
