# cmd_find_clear_state

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L644
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmd_find_clear_state/

```c
void cmd_find_clear_state(struct cmd_find_state *fs, int flags)
```

## Parameters

- `fs` (`struct cmd_find_state *`)
- `flags` (`int`)

## Called by

- [`cmd_find_from_client`](/en/tmux/3.7c/reference/c-function-cmd_find_from_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L869)
- [`cmd_find_from_mouse`](/en/tmux/3.7c/reference/c-function-cmd_find_from_mouse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L841)
- [`cmd_find_from_nothing`](/en/tmux/3.7c/reference/c-function-cmd_find_from_nothing/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L821)
- [`cmd_find_from_session`](/en/tmux/3.7c/reference/c-function-cmd_find_from_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L725)
- [`cmd_find_from_session_window`](/en/tmux/3.7c/reference/c-function-cmd_find_from_session_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L754)
- [`cmd_find_from_window`](/en/tmux/3.7c/reference/c-function-cmd_find_from_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L772)
- [`cmd_find_from_winlink`](/en/tmux/3.7c/reference/c-function-cmd_find_from_winlink/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L739)
- [`cmd_find_from_winlink_pane`](/en/tmux/3.7c/reference/c-function-cmd_find_from_winlink_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L794)
- [`cmd_find_target`](/en/tmux/3.7c/reference/c-function-cmd_find_target/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L969)
- [`cmdq_find_flag`](/en/tmux/3.7c/reference/c-function-cmd-queue-c-cmdq_find_flag/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L553)
- [`cmdq_new_state`](/en/tmux/3.7c/reference/c-function-cmdq_new_state/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L224)
- [`notify_insert_hook`](/en/tmux/3.7c/reference/c-function-notify-c-notify_insert_hook/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L70)
- [`notify_paste_buffer`](/en/tmux/3.7c/reference/c-function-notify_paste_buffer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L319)
- [`server_clear_marked`](/en/tmux/3.7c/reference/c-function-server_clear_marked/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L82)
- [`server_set_marked`](/en/tmux/3.7c/reference/c-function-server_set_marked/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L70)
- [`status_prompt_set`](/en/tmux/3.7c/reference/c-function-status_prompt_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L697)
- [`window_tree_get_target`](/en/tmux/3.7c/reference/c-function-window-tree-c-window_tree_get_target/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-tree.c#L1034)

## Referenced by

- [`cmd_find_current_client`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_current_client/) (function)

## Referenced declarations

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