# cmd_display_panes_put

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L59
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cmd-display-panes-c-cmd_display_panes_put/

```c
static void cmd_display_panes_put(struct screen_redraw_ctx *ctx, struct window_pane *wp, u_int cx, u_int cy, const char *buf, size_t len)
```

## Parameters

- `ctx` (`struct screen_redraw_ctx *`)
- `wp` (`struct window_pane *`)
- `cx` (`u_int`)
- `cy` (`u_int`)
- `buf` (`const char *`)
- `len` (`size_t`)

## Called by

- [`cmd_display_panes_draw_pane`](/en/tmux/latest/reference/c-function-cmd-display-panes-c-cmd_display_panes_draw_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L174)

## Calls

- [`screen_redraw_get_visible_ranges`](/en/tmux/latest/reference/c-function-screen_redraw_get_visible_ranges/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L68)
- [`tty_cursor`](/en/tmux/latest/reference/c-function-tty_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L73)
- [`tty_putn`](/en/tmux/latest/reference/c-function-tty_putn/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L74)

## Referenced declarations

- [`screen_redraw_ctx.c`](/en/tmux/latest/reference/c-struct-screen_redraw_ctx-c/) (attribute)
- [`visible_range.nx`](/en/tmux/latest/reference/c-struct-visible_range-nx/) (attribute)
- [`screen_redraw_ctx.ox`](/en/tmux/latest/reference/c-struct-screen_redraw_ctx-ox/) (attribute)
- [`screen_redraw_ctx.oy`](/en/tmux/latest/reference/c-struct-screen_redraw_ctx-oy/) (attribute)
- [`visible_range.px`](/en/tmux/latest/reference/c-struct-visible_range-px/) (attribute)
- [`visible_ranges.ranges`](/en/tmux/latest/reference/c-struct-visible_ranges-ranges/) (attribute)
- [`screen_redraw_ctx`](/en/tmux/latest/reference/c-struct-screen_redraw_ctx/) (struct)
- [`client.tty`](/en/tmux/latest/reference/c-struct-client-tty/) (attribute)
- [`visible_ranges.used`](/en/tmux/latest/reference/c-struct-visible_ranges-used/) (attribute)
- [`window_pane`](/en/tmux/latest/reference/c-struct-window_pane/) (struct)
