# screen_write_mode_clear

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

```c
void screen_write_mode_clear(struct screen_write_ctx *ctx, int mode)
```

## Parameters

- `ctx` (`struct screen_write_ctx *`)
- `mode` (`int`)

## Referenced by

- [`input_csi_dispatch`](/en/tmux/3.2a/reference/c-function-input-c-input_csi_dispatch/) (function)
- [`input_csi_dispatch_rm`](/en/tmux/3.2a/reference/c-function-input-c-input_csi_dispatch_rm/) (function)
- [`input_csi_dispatch_rm_private`](/en/tmux/3.2a/reference/c-function-input-c-input_csi_dispatch_rm_private/) (function)
- [`input_csi_dispatch_sm`](/en/tmux/3.2a/reference/c-function-input-c-input_csi_dispatch_sm/) (function)
- [`input_csi_dispatch_sm_private`](/en/tmux/3.2a/reference/c-function-input-c-input_csi_dispatch_sm_private/) (function)
- [`input_esc_dispatch`](/en/tmux/3.2a/reference/c-function-input-c-input_esc_dispatch/) (function)
- [`input_restore_state`](/en/tmux/3.2a/reference/c-function-input-c-input_restore_state/) (function)
- [`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)
- [`screen_write_ctx.s`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`screen_write_ctx`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx/) (struct)
