# window_copy_cmd_next_matching_bracket

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

```c
static enum window_copy_cmd_action window_copy_cmd_next_matching_bracket(struct window_copy_cmd_state *cs)
```

## Parameters

- `cs` (`struct window_copy_cmd_state *`)

## Calls

- [`grid_get_cell`](/en/tmux/3.7c/reference/c-function-grid_get_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1892)
- [`grid_get_line`](/en/tmux/3.7c/reference/c-function-grid_get_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1937)
- [`window_copy_cmd_previous_matching_bracket`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_previous_matching_bracket/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1909)
- [`window_copy_cursor_next_word_end`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_next_word_end/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1930)
- [`window_copy_find_length`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_find_length/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1881)
- [`window_copy_scroll_to`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_scroll_to/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1908)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`grid_line.cellsize`](/en/tmux/3.7c/reference/c-struct-grid_line-cellsize/) (attribute)
- [`window_copy_mode_data.cx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-cx/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`grid_cell.data`](/en/tmux/3.7c/reference/c-struct-grid_cell-data/) (attribute)
- [`utf8_data.data`](/en/tmux/3.7c/reference/c-struct-utf8_data-data/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-data/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.7c/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_line.flags`](/en/tmux/3.7c/reference/c-struct-grid_line-flags/) (attribute)
- [`screen.grid`](/en/tmux/3.7c/reference/c-struct-screen-grid/) (attribute)
- [`GRID_FLAG_PADDING`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_padding/) (constant)
- [`GRID_LINE_WRAPPED`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_line_wrapped/) (constant)
- [`MODEKEY_EMACS`](/en/tmux/3.7c/reference/c-define-tmux-h-modekey_emacs/) (constant)
- [`MODEKEY_VI`](/en/tmux/3.7c/reference/c-define-tmux-h-modekey_vi/) (constant)
- [`window_copy_mode_data.modekeys`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-modekeys/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`window_mode_entry.prefix`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-prefix/) (attribute)
- [`screen_hsize`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`screen_size_y`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`utf8_data.size`](/en/tmux/3.7c/reference/c-struct-utf8_data-size/) (attribute)
- [`grid.sx`](/en/tmux/3.7c/reference/c-struct-grid-sx/) (attribute)
- [`window_copy_cmd_action`](/en/tmux/3.7c/reference/c-enum-window_copy_cmd_action/) (enum)
- [`WINDOW_COPY_CMD_NOTHING`](/en/tmux/3.7c/reference/c-enum-window_copy_cmd_action-window_copy_cmd_nothing/) (constant)
- [`window_copy_cmd_state`](/en/tmux/3.7c/reference/c-struct-window_copy_cmd_state/) (struct)
- [`window_copy_cmd_state.wme`](/en/tmux/3.7c/reference/c-struct-window_copy_cmd_state-wme/) (attribute)
