# tty_is_visible

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

```c
static int tty_is_visible(struct tty *tty, const struct tty_ctx *ctx, u_int px, u_int py, u_int nx, u_int ny)
```

## Parameters

- `tty` (`struct tty *`)
- `ctx` (`const struct tty_ctx *`)
- `px` (`u_int`)
- `py` (`u_int`)
- `nx` (`u_int`)
- `ny` (`u_int`)

## Called by

- [`tty_clamp_area`](/en/tmux/3.2a/reference/c-function-tty-c-tty_clamp_area/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1083)
- [`tty_clamp_line`](/en/tmux/3.2a/reference/c-function-tty-c-tty_clamp_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L988)
- [`tty_cmd_cell`](/en/tmux/3.2a/reference/c-function-tty_cmd_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1847)
- [`tty_cmd_cells`](/en/tmux/3.2a/reference/c-function-tty_cmd_cells/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1864)

## Referenced declarations

- [`__unused`](/en/tmux/3.2a/reference/c-define-compat-h-__unused/) (constant)
- [`tty_ctx.bigger`](/en/tmux/3.2a/reference/c-struct-tty_ctx-bigger/) (attribute)
- [`tty_ctx.rxoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-rxoff/) (attribute)
- [`tty_ctx.ryoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-ryoff/) (attribute)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/3.2a/reference/c-struct-tty_ctx/) (struct)
- [`tty_ctx.wox`](/en/tmux/3.2a/reference/c-struct-tty_ctx-wox/) (attribute)
- [`tty_ctx.woy`](/en/tmux/3.2a/reference/c-struct-tty_ctx-woy/) (attribute)
- [`tty_ctx.wsx`](/en/tmux/3.2a/reference/c-struct-tty_ctx-wsx/) (attribute)
- [`tty_ctx.wsy`](/en/tmux/3.2a/reference/c-struct-tty_ctx-wsy/) (attribute)
