# screen_write_start_sync

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

```c
void screen_write_start_sync(struct window_pane *wp)
```

## Parameters

- `wp` (`struct window_pane *`)

## Called by

- [`input_csi_dispatch_sm_private`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sm_private/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2069)

## 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#L990)

## Other function references

- [`screen_write_sync_callback`](/en/tmux/3.7c/reference/c-function-screen-write-c-screen_write_sync_callback/) (function)

## Referenced declarations

- [`window_pane.base`](/en/tmux/3.7c/reference/c-struct-window_pane-base/) (attribute)
- [`window_pane.id`](/en/tmux/3.7c/reference/c-struct-window_pane-id/) (attribute)
- [`screen.mode`](/en/tmux/3.7c/reference/c-struct-screen-mode/) (attribute)
- [`MODE_SYNC`](/en/tmux/3.7c/reference/c-define-tmux-h-mode_sync/) (constant)
- [`window_pane.sync_timer`](/en/tmux/3.7c/reference/c-struct-window_pane-sync_timer/) (attribute)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
