# status_prompt_save_history

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

```c
void status_prompt_save_history(void)
```

## Called by

- [`server_start`](/en/tmux/3.7c/reference/c-function-server_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L257)

## Calls

- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L156)

## Other function references

- [`status_prompt_find_history_file`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_find_history_file/) (function)

## Referenced by

- [`status_prompt_set`](/en/tmux/3.7c/reference/c-function-status_prompt_set/) (function)

## Referenced declarations

- [`PROMPT_NTYPES`](/en/tmux/3.7c/reference/c-define-tmux-h-prompt_ntypes/) (constant)
- [`prompt_type_strings`](/en/tmux/3.7c/reference/c-variable-status-c-prompt_type_strings/) (attribute)
- [`status_prompt_hlist`](/en/tmux/3.7c/reference/c-variable-status_prompt_hlist/) (attribute)
- [`status_prompt_hsize`](/en/tmux/3.7c/reference/c-variable-status_prompt_hsize/) (attribute)
