# screen_write_start_pane

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L317
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-screen_write_start_pane/

```c
void screen_write_start_pane(struct screen_write_ctx *ctx, struct window_pane *wp, struct screen *s)
```

## Parameters

- `ctx` (`struct screen_write_ctx *`)
- `wp` (`struct window_pane *`)
- `s` (`struct screen *`)

## Called by

- [`input_osc_52`](/en/tmux/3.7c/reference/c-function-input-c-input_osc_52/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3291)
- [`input_parse_buffer`](/en/tmux/3.7c/reference/c-function-input_parse_buffer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1043)
- [`input_reset`](/en/tmux/3.7c/reference/c-function-input_reset/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L922)
- [`server_destroy_pane`](/en/tmux/3.7c/reference/c-function-server_destroy_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-fn.c#L358)
- [`window_copy_append_selection`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_append_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5583)
- [`window_copy_copy_buffer`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_copy_buffer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5497)
- [`window_copy_redraw_lines`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_redraw_lines/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5047)
- [`window_copy_scroll_down`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_scroll_down/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6390)
- [`window_copy_scroll_up`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_scroll_up/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6330)
- [`window_copy_update_cursor`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_update_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5205)
- [`window_copy_vadd`](/en/tmux/3.7c/reference/c-function-window_copy_vadd/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L615)

## Calls

- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L326)
- [`log_get_level`](/en/tmux/3.7c/reference/c-function-log_get_level/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L325)
- [`screen_write_init`](/en/tmux/3.7c/reference/c-function-screen-write-c-screen_write_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L322)

## Referenced declarations

- [`window_pane.id`](/en/tmux/3.7c/reference/c-struct-window_pane-id/) (attribute)
- [`screen_write_ctx.s`](/en/tmux/3.7c/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`screen`](/en/tmux/3.7c/reference/c-struct-screen/) (struct)
- [`window_pane.screen`](/en/tmux/3.7c/reference/c-struct-window_pane-screen/) (attribute)
- [`screen_size_x`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_x/) (constant)
- [`screen_size_y`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`screen_write_ctx`](/en/tmux/3.7c/reference/c-struct-screen_write_ctx/) (struct)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
- [`screen_write_ctx.wp`](/en/tmux/3.7c/reference/c-struct-screen_write_ctx-wp/) (attribute)
- [`window_pane.xoff`](/en/tmux/3.7c/reference/c-struct-window_pane-xoff/) (attribute)
- [`window_pane.yoff`](/en/tmux/3.7c/reference/c-struct-window_pane-yoff/) (attribute)
