# window_copy_cmd_history_bottom

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1175
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_history_bottom/

```c
static enum window_copy_cmd_action window_copy_cmd_history_bottom(struct window_copy_cmd_state *cs)
```

## Parameters

- `cs` (`struct window_copy_cmd_state *`)

## Calls

- [`window_copy_other_end`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_other_end/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1184)
- [`window_copy_search_marks`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_search_marks/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1191)
- [`window_copy_update_selection`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_update_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1192)

## Other function references

- [`window_copy_find_length`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_find_length/) (function)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cx`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-cx/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_copy_mode_data.endsely`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-endsely/) (attribute)
- [`window_copy_mode_data.lineflag`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-lineflag/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`window_copy_mode_data.screen`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-screen/) (attribute)
- [`screen_hsize`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`screen_size_y`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`window_copy_mode_data.searchmark`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-searchmark/) (attribute)
- [`window_copy_mode_data.searchregex`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-searchregex/) (attribute)
- [`window_copy_mode_data.timeout`](/en/tmux/3.2a/reference/c-struct-window_copy_mode_data-timeout/) (attribute)
- [`window_copy_cmd_action`](/en/tmux/3.2a/reference/c-enum-window_copy_cmd_action/) (enum)
- [`WINDOW_COPY_CMD_REDRAW`](/en/tmux/3.2a/reference/c-enum-window_copy_cmd_action-window_copy_cmd_redraw/) (constant)
- [`window_copy_cmd_state`](/en/tmux/3.2a/reference/c-struct-window_copy_cmd_state/) (struct)
- [`window_copy_cmd_state.wme`](/en/tmux/3.2a/reference/c-struct-window_copy_cmd_state-wme/) (attribute)
