# tty_puts

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

```c
void tty_puts(struct tty *tty, const char *s)
```

## Parameters

- `tty` (`struct tty *`)
- `s` (`const char *`)

## Called by

- [`input_add_request`](/en/tmux/latest/reference/c-function-input-c-input_add_request/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3474)
- [`tty_clear_area`](/en/tmux/latest/reference/c-function-tty-c-tty_clear_area/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1352)
- [`tty_colours`](/en/tmux/latest/reference/c-function-tty-c-tty_colours/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2738)
- [`tty_colours_bg`](/en/tmux/latest/reference/c-function-tty-c-tty_colours_bg/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2965)
- [`tty_colours_fg`](/en/tmux/latest/reference/c-function-tty-c-tty_colours_fg/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L2933)
- [`tty_putcode`](/en/tmux/latest/reference/c-function-tty_putcode/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L579)
- [`tty_putcode_i`](/en/tmux/latest/reference/c-function-tty_putcode_i/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L587)
- [`tty_putcode_ii`](/en/tmux/latest/reference/c-function-tty_putcode_ii/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L595)
- [`tty_putcode_iii`](/en/tmux/latest/reference/c-function-tty_putcode_iii/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L603)
- [`tty_putcode_s`](/en/tmux/latest/reference/c-function-tty_putcode_s/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L610)
- [`tty_putcode_ss`](/en/tmux/latest/reference/c-function-tty_putcode_ss/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L618)
- [`tty_repeat_requests`](/en/tmux/latest/reference/c-function-tty_repeat_requests/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L428)
- [`tty_resize`](/en/tmux/latest/reference/c-function-tty_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L143)
- [`tty_send_requests`](/en/tmux/latest/reference/c-function-tty_send_requests/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L396)
- [`tty_set_path`](/en/tmux/latest/reference/c-function-tty_set_path/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L741)
- [`tty_set_title`](/en/tmux/latest/reference/c-function-tty_set_title/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L729)
- [`tty_start_tty`](/en/tmux/latest/reference/c-function-tty_start_tty/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L364)
- [`tty_update_features`](/en/tmux/latest/reference/c-function-tty_update_features/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L540)
- [`tty_update_mode`](/en/tmux/latest/reference/c-function-tty_update_mode/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L887)

## Calls

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

## Referenced by

- [`screen_redraw_draw_borders_cell`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_draw_borders_cell/) (function)

## Referenced declarations

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