# tty_use_margin

- **Language:** C
- **Kind:** constant
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L75
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-define-tty-c-tty_use_margin/

```c
#define tty_use_margin(tty) (tty->term->flags & TERM_DECSLRM)
```

## Referenced by

- [`tty_clear_area`](/en/tmux/3.7c/reference/c-function-tty-c-tty_clear_area/) (function)
- [`tty_cmd_linefeed`](/en/tmux/3.7c/reference/c-function-tty_cmd_linefeed/) (function)
- [`tty_cmd_reverseindex`](/en/tmux/3.7c/reference/c-function-tty_cmd_reverseindex/) (function)
- [`tty_cmd_scrolldown`](/en/tmux/3.7c/reference/c-function-tty_cmd_scrolldown/) (function)
- [`tty_cmd_scrollup`](/en/tmux/3.7c/reference/c-function-tty_cmd_scrollup/) (function)
- [`tty_cursor`](/en/tmux/3.7c/reference/c-function-tty_cursor/) (function)
- [`tty_invalidate`](/en/tmux/3.7c/reference/c-function-tty_invalidate/) (function)
- [`tty_margin`](/en/tmux/3.7c/reference/c-function-tty-c-tty_margin/) (function)
- [`tty_stop_tty`](/en/tmux/3.7c/reference/c-function-tty_stop_tty/) (function)
- [`tty_update_features`](/en/tmux/3.7c/reference/c-function-tty_update_features/) (function)

## Referenced declarations

- [`TERM_DECSLRM`](/en/tmux/3.7c/reference/c-define-tmux-h-term_decslrm/) (constant)
- [`tty`](/en/tmux/3.7c/reference/c-struct-tty/) (struct)
