# screen_write_fast_copy

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L548
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-screen_write_fast_copy/

```c
void screen_write_fast_copy(struct screen_write_ctx *ctx, struct screen *src, u_int px, u_int py, u_int nx, u_int ny)
```

## Parameters

- `ctx` (`struct screen_write_ctx *`)
- `src` (`struct screen *`)
- `px` (`u_int`)
- `py` (`u_int`)
- `nx` (`u_int`)
- `ny` (`u_int`)

## Called by

- [`format_draw_centre`](/en/tmux/3.2a/reference/c-function-format-draw-c-format_draw_centre/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format-draw.c#L361)
- [`format_draw_left`](/en/tmux/3.2a/reference/c-function-format-draw-c-format_draw_left/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format-draw.c#L258)
- [`format_draw_put`](/en/tmux/3.2a/reference/c-function-format-draw-c-format_draw_put/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format-draw.c#L108)
- [`format_draw_put_list`](/en/tmux/3.2a/reference/c-function-format-draw-c-format_draw_put_list/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format-draw.c#L139)
- [`format_draw_right`](/en/tmux/3.2a/reference/c-function-format-draw-c-format_draw_right/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format-draw.c#L469)
- [`popup_draw_cb`](/en/tmux/3.2a/reference/c-function-popup-c-popup_draw_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L137)
- [`screen_write_preview`](/en/tmux/3.2a/reference/c-function-screen_write_preview/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L754)
- [`status_message_redraw`](/en/tmux/3.2a/reference/c-function-status_message_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L525)
- [`status_prompt_redraw`](/en/tmux/3.2a/reference/c-function-status_prompt_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L692)
- [`window_client_draw`](/en/tmux/3.2a/reference/c-function-window-client-c-window_client_draw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-client.c#L251)

## Calls

- [`grid_get_cell`](/en/tmux/3.2a/reference/c-function-grid_get_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L567)
- [`grid_view_set_cell`](/en/tmux/3.2a/reference/c-function-grid_view_set_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L570)

## Other function references

- [`grid_get_line`](/en/tmux/3.2a/reference/c-function-grid_get_line/) (function)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

- [`screen.cx`](/en/tmux/3.2a/reference/c-struct-screen-cx/) (attribute)
- [`screen.cy`](/en/tmux/3.2a/reference/c-struct-screen-cy/) (attribute)
- [`grid_cell.data`](/en/tmux/3.2a/reference/c-struct-grid_cell-data/) (attribute)
- [`screen.grid`](/en/tmux/3.2a/reference/c-struct-screen-grid/) (attribute)
- [`grid.hsize`](/en/tmux/3.2a/reference/c-struct-grid-hsize/) (attribute)
- [`screen_write_ctx.s`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`screen`](/en/tmux/3.2a/reference/c-struct-screen/) (struct)
- [`screen_write_ctx`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx/) (struct)
- [`grid.sy`](/en/tmux/3.2a/reference/c-struct-grid-sy/) (attribute)
- [`utf8_data.width`](/en/tmux/3.2a/reference/c-struct-utf8_data-width/) (attribute)
