# screen_write_reset

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

```c
void screen_write_reset(struct screen_write_ctx *ctx)
```

## Parameters

- `ctx` (`struct screen_write_ctx *`)

## Called by

- [`input_esc_dispatch`](/en/tmux/3.2a/reference/c-function-input-c-input_esc_dispatch/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L1275)
- [`input_reset`](/en/tmux/3.2a/reference/c-function-input_reset/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L854)

## Calls

- [`screen_reset_tabs`](/en/tmux/3.2a/reference/c-function-screen_reset_tabs/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L310)
- [`screen_write_clearscreen`](/en/tmux/3.2a/reference/c-function-screen_write_clearscreen/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L315)
- [`screen_write_set_cursor`](/en/tmux/3.2a/reference/c-function-screen-write-c-screen_write_set_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L316)

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`screen.mode`](/en/tmux/3.2a/reference/c-struct-screen-mode/) (attribute)
- [`MODE_CURSOR`](/en/tmux/3.2a/reference/c-define-tmux-h-mode_cursor/) (constant)
- [`MODE_WRAP`](/en/tmux/3.2a/reference/c-define-tmux-h-mode_wrap/) (constant)
- [`screen_write_ctx.s`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`screen_size_y`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`screen_write_ctx`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx/) (struct)
