# cmd_find_state.s

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.h#L1865
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-struct-cmd_find_state-s/

```c
struct session * s;
```

## Referenced by

- [`cmd_attach_session`](/en/tmux/3.7c/reference/c-function-cmd_attach_session/) (function)
- [`cmd_break_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-break-pane-c-cmd_break_pane_exec/) (function)
- [`cmd_command_prompt_exec`](/en/tmux/3.7c/reference/c-function-cmd-command-prompt-c-cmd_command_prompt_exec/) (function)
- [`cmd_detach_client_exec`](/en/tmux/3.7c/reference/c-function-cmd-detach-client-c-cmd_detach_client_exec/) (function)
- [`cmd_display_menu_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-menu-c-cmd_display_menu_exec/) (function)
- [`cmd_display_message_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-message-c-cmd_display_message_exec/) (function)
- [`cmd_display_popup_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-menu-c-cmd_display_popup_exec/) (function)
- [`cmd_find_best_session_with_window`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_best_session_with_window/) (function)
- [`cmd_find_best_winlink_with_window`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_best_winlink_with_window/) (function)
- [`cmd_find_copy_state`](/en/tmux/3.7c/reference/c-function-cmd_find_copy_state/) (function)
- [`cmd_find_current_client`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_current_client/) (function)
- [`cmd_find_empty_state`](/en/tmux/3.7c/reference/c-function-cmd_find_empty_state/) (function)
- [`cmd_find_from_client`](/en/tmux/3.7c/reference/c-function-cmd_find_from_client/) (function)
- [`cmd_find_from_mouse`](/en/tmux/3.7c/reference/c-function-cmd_find_from_mouse/) (function)
- [`cmd_find_from_nothing`](/en/tmux/3.7c/reference/c-function-cmd_find_from_nothing/) (function)
- [`cmd_find_from_session`](/en/tmux/3.7c/reference/c-function-cmd_find_from_session/) (function)
- [`cmd_find_from_session_window`](/en/tmux/3.7c/reference/c-function-cmd_find_from_session_window/) (function)
- [`cmd_find_from_winlink`](/en/tmux/3.7c/reference/c-function-cmd_find_from_winlink/) (function)
- [`cmd_find_from_winlink_pane`](/en/tmux/3.7c/reference/c-function-cmd_find_from_winlink_pane/) (function)
- [`cmd_find_get_pane`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_get_pane/) (function)
- [`cmd_find_get_pane_with_session`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_get_pane_with_session/) (function)
- [`cmd_find_get_session`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_get_session/) (function)
- [`cmd_find_get_window`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_get_window/) (function)
- [`cmd_find_get_window_with_session`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_get_window_with_session/) (function)
- [`cmd_find_log_state`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_log_state/) (function)
- [`cmd_find_target`](/en/tmux/3.7c/reference/c-function-cmd_find_target/) (function)
- [`cmd_find_valid_state`](/en/tmux/3.7c/reference/c-function-cmd_find_valid_state/) (function)
- [`cmd_if_shell_exec`](/en/tmux/3.7c/reference/c-function-cmd-if-shell-c-cmd_if_shell_exec/) (function)
- [`cmd_join_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-join-pane-c-cmd_join_pane_exec/) (function)
- [`cmd_kill_session_exec`](/en/tmux/3.7c/reference/c-function-cmd-kill-session-c-cmd_kill_session_exec/) (function)
- [`cmd_kill_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-kill-window-c-cmd_kill_window_exec/) (function)
- [`cmd_list_clients_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-clients-c-cmd_list_clients_exec/) (function)
- [`cmd_list_panes_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-panes-c-cmd_list_panes_exec/) (function)
- [`cmd_list_windows_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-windows-c-cmd_list_windows_exec/) (function)
- [`cmd_lock_server_exec`](/en/tmux/3.7c/reference/c-function-cmd-lock-server-c-cmd_lock_server_exec/) (function)
- [`cmd_move_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-move-window-c-cmd_move_window_exec/) (function)
- [`cmd_new_session_exec`](/en/tmux/3.7c/reference/c-function-cmd-new-session-c-cmd_new_session_exec/) (function)
- [`cmd_new_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-new-window-c-cmd_new_window_exec/) (function)
- [`cmd_pipe_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-pipe-pane-c-cmd_pipe_pane_exec/) (function)
- [`cmd_rename_session_exec`](/en/tmux/3.7c/reference/c-function-cmd-rename-session-c-cmd_rename_session_exec/) (function)
- [`cmd_resize_pane_mouse_update`](/en/tmux/3.7c/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_mouse_update/) (function)
- [`cmd_resize_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-resize-window-c-cmd_resize_window_exec/) (function)
- [`cmd_respawn_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-respawn-pane-c-cmd_respawn_pane_exec/) (function)
- [`cmd_respawn_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-respawn-window-c-cmd_respawn_window_exec/) (function)
- [`cmd_run_shell_exec`](/en/tmux/3.7c/reference/c-function-cmd-run-shell-c-cmd_run_shell_exec/) (function)
- [`cmd_select_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function)
- [`cmd_select_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-select-window-c-cmd_select_window_exec/) (function)
- [`cmd_send_keys_exec`](/en/tmux/3.7c/reference/c-function-cmd-send-keys-c-cmd_send_keys_exec/) (function)
- [`cmd_send_keys_inject_key`](/en/tmux/3.7c/reference/c-function-cmd-send-keys-c-cmd_send_keys_inject_key/) (function)
- [`cmd_set_environment_exec`](/en/tmux/3.7c/reference/c-function-cmd-set-environment-c-cmd_set_environment_exec/) (function)
- [`cmd_show_environment_exec`](/en/tmux/3.7c/reference/c-function-cmd-show-environment-c-cmd_show_environment_exec/) (function)
- [`cmd_split_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-split-window-c-cmd_split_window_exec/) (function)
- [`cmd_swap_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-swap-window-c-cmd_swap_window_exec/) (function)
- [`cmd_switch_client_exec`](/en/tmux/3.7c/reference/c-function-cmd-switch-client-c-cmd_switch_client_exec/) (function)
- [`cmdq_fire_command`](/en/tmux/3.7c/reference/c-function-cmd-queue-c-cmdq_fire_command/) (function)
- [`format_cb_session_marked`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_session_marked/) (function)
- [`format_create_from_state`](/en/tmux/3.7c/reference/c-function-format_create_from_state/) (function)
- [`format_single_from_state`](/en/tmux/3.7c/reference/c-function-format_single_from_state/) (function)
- [`notify_add`](/en/tmux/3.7c/reference/c-function-notify-c-notify_add/) (function)
- [`notify_callback`](/en/tmux/3.7c/reference/c-function-notify-c-notify_callback/) (function)
- [`notify_hook`](/en/tmux/3.7c/reference/c-function-notify_hook/) (function)
- [`notify_insert_hook`](/en/tmux/3.7c/reference/c-function-notify-c-notify_insert_hook/) (function)
- [`notify_session`](/en/tmux/3.7c/reference/c-function-notify_session/) (function)
- [`notify_session_window`](/en/tmux/3.7c/reference/c-function-notify_session_window/) (function)
- [`options_scope_from_flags`](/en/tmux/3.7c/reference/c-function-options_scope_from_flags/) (function)
- [`options_scope_from_name`](/en/tmux/3.7c/reference/c-function-options_scope_from_name/) (function)
- [`server_client_key_callback`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_key_callback/) (function)
- [`server_is_marked`](/en/tmux/3.7c/reference/c-function-server_is_marked/) (function)
- [`server_set_marked`](/en/tmux/3.7c/reference/c-function-server_set_marked/) (function)
- [`spawn_pane`](/en/tmux/3.7c/reference/c-function-spawn_pane/) (function)
- [`window_buffer_build`](/en/tmux/3.7c/reference/c-function-window-buffer-c-window_buffer_build/) (function)
- [`window_customize_build`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_build/) (function)
- [`window_customize_get_tree`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_get_tree/) (function)
- [`window_customize_scope_text`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_scope_text/) (function)
- [`window_tree_build`](/en/tmux/3.7c/reference/c-function-window-tree-c-window_tree_build/) (function)
- [`window_tree_key`](/en/tmux/3.7c/reference/c-function-window-tree-c-window_tree_key/) (function)

## Referenced declarations

- [`session`](/en/tmux/3.7c/reference/c-struct-session/) (struct)
