# window_copy_line_number_mode

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4774
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_line_number_mode/

```c
static int window_copy_line_number_mode(struct window_mode_entry *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)

## Called by

- [`window_copy_line_number_is_absolute`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_line_number_is_absolute/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4788)
- [`window_copy_line_numbers_active`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_line_numbers_active/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4803)
- [`window_copy_scroll_down`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_scroll_down/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6369)
- [`window_copy_scroll_up`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_scroll_up/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6304)
- [`window_copy_write_line`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_write_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4944)

## Calls

- [`options_get_number`](/en/tmux/3.7c/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4782)

## Referenced declarations

- [`window_mode_entry.data`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_copy_mode_data.line_numbers`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-line_numbers/) (attribute)
- [`window.options`](/en/tmux/3.7c/reference/c-struct-window-options/) (attribute)
- [`window_pane.window`](/en/tmux/3.7c/reference/c-struct-window_pane-window/) (attribute)
- [`WINDOW_COPY_LINE_NUMBERS_OFF`](/en/tmux/3.7c/reference/c-enum-window_copy_line_numbers-window_copy_line_numbers_off/) (constant)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
- [`window_mode_entry.wp`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-wp/) (attribute)
