# tty_region_pane

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

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

## Parameters

- `tty` (`struct tty *`)
- `ctx` (`const struct tty_ctx *`)
- `rupper` (`u_int`)
- `rlower` (`u_int`)

## Called by

- [`tty_cmd_alignmenttest`](/en/tmux/3.2a/reference/c-function-tty_cmd_alignmenttest/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1834)
- [`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#L1853)
- [`tty_cmd_clearendofscreen`](/en/tmux/3.2a/reference/c-function-tty_cmd_clearendofscreen/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1763)
- [`tty_cmd_clearscreen`](/en/tmux/3.2a/reference/c-function-tty_cmd_clearscreen/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1811)
- [`tty_cmd_clearstartofscreen`](/en/tmux/3.2a/reference/c-function-tty_cmd_clearstartofscreen/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1787)
- [`tty_cmd_deleteline`](/en/tmux/3.2a/reference/c-function-tty_cmd_deleteline/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1586)
- [`tty_cmd_insertline`](/en/tmux/3.2a/reference/c-function-tty_cmd_insertline/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1562)
- [`tty_cmd_linefeed`](/en/tmux/3.2a/reference/c-function-tty_cmd_linefeed/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1668)
- [`tty_cmd_reverseindex`](/en/tmux/3.2a/reference/c-function-tty_cmd_reverseindex/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1640)
- [`tty_cmd_scrolldown`](/en/tmux/3.2a/reference/c-function-tty_cmd_scrolldown/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1744)
- [`tty_cmd_scrollup`](/en/tmux/3.2a/reference/c-function-tty_cmd_scrollup/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1706)

## Calls

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

## Referenced declarations

- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/3.2a/reference/c-struct-tty_ctx/) (struct)
- [`tty_ctx.woy`](/en/tmux/3.2a/reference/c-struct-tty_ctx-woy/) (attribute)
- [`tty_ctx.yoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-yoff/) (attribute)
