# tty_cmd_syncstart

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2223
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-tty_cmd_syncstart/

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

## Parameters

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

## Calls

- [`tty_sync_start`](/en/tmux/latest/reference/c-function-tty_sync_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2233)

## Referenced by

- [`screen_write_initctx`](/en/tmux/latest/reference/c-function-screen-write-c-screen_write_initctx/) (function)

## Referenced declarations

- [`tty.client`](/en/tmux/latest/reference/c-struct-tty-client/) (attribute)
- [`tty_ctx.flags`](/en/tmux/latest/reference/c-struct-tty_ctx-flags/) (attribute)
- [`client.overlay_draw`](/en/tmux/latest/reference/c-struct-client-overlay_draw/) (attribute)
- [`tty`](/en/tmux/latest/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/latest/reference/c-struct-tty_ctx/) (struct)
- [`TTY_CTX_OVERLAY_SYNC`](/en/tmux/latest/reference/c-define-tmux-h-tty_ctx_overlay_sync/) (constant)
- [`TTY_CTX_SYNC`](/en/tmux/latest/reference/c-define-tmux-h-tty_ctx_sync/) (constant)
