# screen_write_reset

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L372
- **Page:** https://libtmux.org/en/tmux/latest/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/latest/reference/c-function-input-c-input_esc_dispatch/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1385)
- [`input_reset`](/en/tmux/latest/reference/c-function-input_reset/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L925)

## Calls

- [`options_get_number`](/en/tmux/latest/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L381)
- [`screen_reset_tabs`](/en/tmux/latest/reference/c-function-screen_reset_tabs/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L376)
- [`screen_write_clearscreen`](/en/tmux/latest/reference/c-function-screen_write_clearscreen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L384)
- [`screen_write_set_cursor`](/en/tmux/latest/reference/c-function-screen-write-c-screen_write_set_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L385)

## Other function references

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

## Referenced declarations

- [`EXTENDED_KEY_MODES`](/en/tmux/latest/reference/c-define-tmux-h-extended_key_modes/) (constant)
- [`global_options`](/en/tmux/latest/reference/c-variable-global_options/) (attribute)
- [`screen.mode`](/en/tmux/latest/reference/c-struct-screen-mode/) (attribute)
- [`MODE_CURSOR`](/en/tmux/latest/reference/c-define-tmux-h-mode_cursor/) (constant)
- [`MODE_KEYS_EXTENDED`](/en/tmux/latest/reference/c-define-tmux-h-mode_keys_extended/) (constant)
- [`MODE_WRAP`](/en/tmux/latest/reference/c-define-tmux-h-mode_wrap/) (constant)
- [`screen_write_ctx.s`](/en/tmux/latest/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`screen_size_y`](/en/tmux/latest/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`screen_write_ctx`](/en/tmux/latest/reference/c-struct-screen_write_ctx/) (struct)
