# window_pane_reset_mode

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

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

## Parameters

- `wp` (`struct window_pane *`)

## Called by

- [`window_buffer_key`](/en/tmux/3.7c/reference/c-function-window-buffer-c-window_buffer_key/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-buffer.c#L579)
- [`window_client_key`](/en/tmux/3.7c/reference/c-function-window-client-c-window_client_key/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-client.c#L389)
- [`window_clock_key`](/en/tmux/3.7c/reference/c-function-window-clock-c-window_clock_key/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-clock.c#L218)
- [`window_copy_command`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L3520)
- [`window_copy_pagedown`](/en/tmux/3.7c/reference/c-function-window_copy_pagedown/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L803)
- [`window_copy_scroll1`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_scroll1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L735)
- [`window_customize_key`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_key/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1535)
- [`window_pane_reset_mode_all`](/en/tmux/3.7c/reference/c-function-window_pane_reset_mode_all/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1299)
- [`window_tree_key`](/en/tmux/3.7c/reference/c-function-window-tree-c-window_tree_key/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-tree.c#L1345)

## Calls

- [`layout_fix_panes`](/en/tmux/3.7c/reference/c-function-layout_fix_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1288)
- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1278)
- [`notify_pane`](/en/tmux/3.7c/reference/c-function-notify_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1292)
- [`server_redraw_window_borders`](/en/tmux/3.7c/reference/c-function-server_redraw_window_borders/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1290)
- [`server_status_window`](/en/tmux/3.7c/reference/c-function-server_status_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1291)

## Referenced declarations

- [`window_pane.base`](/en/tmux/3.7c/reference/c-struct-window_pane-base/) (attribute)
- [`window.entry`](/en/tmux/3.7c/reference/c-struct-window-entry/) (attribute)
- [`window_pane.flags`](/en/tmux/3.7c/reference/c-struct-window_pane-flags/) (attribute)
- [`window_mode.free`](/en/tmux/3.7c/reference/c-struct-window_mode-free/) (attribute)
- [`window_mode_entry.mode`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-mode/) (attribute)
- [`window_pane.modes`](/en/tmux/3.7c/reference/c-struct-window_pane-modes/) (attribute)
- [`window_mode.name`](/en/tmux/3.7c/reference/c-struct-window_mode-name/) (attribute)
- [`PANE_CHANGED`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_changed/) (constant)
- [`PANE_REDRAW`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_redraw/) (constant)
- [`PANE_REDRAWSCROLLBAR`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_redrawscrollbar/) (constant)
- [`PANE_UNSEENCHANGES`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_unseenchanges/) (constant)
- [`window_mode.resize`](/en/tmux/3.7c/reference/c-struct-window_mode-resize/) (attribute)
- [`window_mode_entry.screen`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-screen/) (attribute)
- [`window_pane.screen`](/en/tmux/3.7c/reference/c-struct-window_pane-screen/) (attribute)
- [`window_pane.sx`](/en/tmux/3.7c/reference/c-struct-window_pane-sx/) (attribute)
- [`window_pane.sy`](/en/tmux/3.7c/reference/c-struct-window_pane-sy/) (attribute)
- [`window_pane.window`](/en/tmux/3.7c/reference/c-struct-window_pane-window/) (attribute)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
