# window_pane_reset_mode_all

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1296
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window_pane_reset_mode_all/

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

## Parameters

- `wp` (`struct window_pane *`)

## Called by

- [`cmd_capture_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L317)
- [`cmd_copy_mode_exec`](/en/tmux/3.7c/reference/c-function-cmd-copy-mode-c-cmd_copy_mode_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-copy-mode.c#L70)
- [`spawn_pane`](/en/tmux/3.7c/reference/c-function-spawn_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/spawn.c#L260)
- [`window_pane_destroy`](/en/tmux/3.7c/reference/c-function-window-c-window_pane_destroy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1095)

## Calls

- [`window_pane_reset_mode`](/en/tmux/3.7c/reference/c-function-window_pane_reset_mode/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1299)

## Referenced declarations

- [`window_pane.modes`](/en/tmux/3.7c/reference/c-struct-window_pane-modes/) (attribute)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
