# cmd_find_from_nothing

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-find.c#L819
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-cmd_find_from_nothing/

```c
int cmd_find_from_nothing(struct cmd_find_state *fs, int flags)
```

## Parameters

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

## Called by

- [`cmd_find_from_client`](/en/tmux/3.2a/reference/c-function-cmd_find_from_client/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-find.c#L865)
- [`cmd_run_shell_print`](/en/tmux/3.2a/reference/c-function-cmd-run-shell-c-cmd_run_shell_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L81)
- [`notify_insert_hook`](/en/tmux/3.2a/reference/c-function-notify-c-notify_insert_hook/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/notify.c#L70)
- [`notify_session`](/en/tmux/3.2a/reference/c-function-notify_session/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/notify.c#L230)

## Calls

- [`cmd_find_best_session`](/en/tmux/3.2a/reference/c-function-cmd-find-c-cmd_find_best_session/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-find.c#L823)
- [`cmd_find_clear_state`](/en/tmux/3.2a/reference/c-function-cmd_find_clear_state/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-find.c#L821)
- [`cmd_find_log_state`](/en/tmux/3.2a/reference/c-function-cmd-find-c-cmd_find_log_state/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-find.c#L833)

## Referenced by

- [`tty_cmd_erasecharacter`](/en/tmux/3.2a/reference/c-function-tty_cmd_erasecharacter/) (function)

## Referenced declarations

- [`window.active`](/en/tmux/3.2a/reference/c-struct-window-active/) (attribute)
- [`cmd_find_state`](/en/tmux/3.2a/reference/c-struct-cmd_find_state/) (struct)
- [`session.curw`](/en/tmux/3.2a/reference/c-struct-session-curw/) (attribute)
- [`winlink.flags`](/en/tmux/3.2a/reference/c-struct-winlink-flags/) (attribute)
- [`cmd_find_state.idx`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-idx/) (attribute)
- [`winlink.idx`](/en/tmux/3.2a/reference/c-struct-winlink-idx/) (attribute)
- [`cmd_find_state.s`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-s/) (attribute)
- [`cmd_find_state.w`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-w/) (attribute)
- [`winlink.window`](/en/tmux/3.2a/reference/c-struct-winlink-window/) (attribute)
- [`cmd_find_state.wl`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-wl/) (attribute)
- [`cmd_find_state.wp`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-wp/) (attribute)
