# tty_margin_pane

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

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

## Parameters

- `tty` (`struct tty *`)
- `ctx` (`const struct tty_ctx *`)

## Called by

- [`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#L1669)
- [`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#L1641)
- [`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#L1745)
- [`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#L1707)

## Calls

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

## Referenced declarations

- [`tty_ctx.sx`](/en/tmux/3.2a/reference/c-struct-tty_ctx-sx/) (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.xoff`](/en/tmux/3.2a/reference/c-struct-tty_ctx-xoff/) (attribute)
