# window_copy_goto_line

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

```c
static void window_copy_goto_line(struct window_mode_entry *, const char *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `linestr` (`const char *`)

## Called by

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

## Calls

- [`strtonum`](/en/tmux/latest/reference/c-function-strtonum/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4587)
- [`window_copy_line_number_is_absolute`](/en/tmux/latest/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#L4591)
- [`window_copy_redraw_screen`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_redraw_screen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4606)
- [`window_copy_update_selection`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_update_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4605)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_mode_entry.data`](/en/tmux/latest/reference/c-struct-window_mode_entry-data/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`screen_hsize`](/en/tmux/latest/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`window_mode_entry`](/en/tmux/latest/reference/c-struct-window_mode_entry/) (struct)
