# tty_cursor_pane_unless_wrap

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

```c
static void tty_cursor_pane_unless_wrap(struct tty *, const struct tty_ctx *, u_int, u_int)
```

## Parameters

- `tty` (`struct tty *`)
- `ctx` (`const struct tty_ctx *`)
- `cx` (`u_int`)
- `cy` (`u_int`)

## Called by

- [`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#L1856)
- [`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#L1884)

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L2099)
- [`tty_cursor_pane`](/en/tmux/3.2a/reference/c-function-tty-c-tty_cursor_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L2097)

## Referenced declarations

- [`tty.cx`](/en/tmux/3.2a/reference/c-struct-tty-cx/) (attribute)
- [`tty.cy`](/en/tmux/3.2a/reference/c-struct-tty-cy/) (attribute)
- [`tty_term.flags`](/en/tmux/3.2a/reference/c-struct-tty_term-flags/) (attribute)
- [`tty.rlower`](/en/tmux/3.2a/reference/c-struct-tty-rlower/) (attribute)
- [`tty.sx`](/en/tmux/3.2a/reference/c-struct-tty-sx/) (attribute)
- [`tty.term`](/en/tmux/3.2a/reference/c-struct-tty-term/) (attribute)
- [`TERM_NOAM`](/en/tmux/3.2a/reference/c-define-tmux-h-term_noam/) (constant)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/3.2a/reference/c-struct-tty_ctx/) (struct)
- [`tty_full_width`](/en/tmux/3.2a/reference/c-define-tty-c-tty_full_width/) (constant)
- [`tty_ctx.wrapped`](/en/tmux/3.2a/reference/c-struct-tty_ctx-wrapped/) (attribute)
- [`tty_ctx.xoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-xoff/) (attribute)
- [`tty_ctx.yoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-yoff/) (attribute)
