# status_prompt_save_history

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L120
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-status_prompt_save_history/

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

## Called by

- [`server_start`](/en/tmux/3.2a/reference/c-function-server_start/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server.c#L246)

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L128)

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`status_prompt_hlist`](/en/tmux/3.2a/reference/c-variable-status-c-status_prompt_hlist/) (attribute)
- [`status_prompt_hsize`](/en/tmux/3.2a/reference/c-variable-status-c-status_prompt_hsize/) (attribute)
