# grid_reader_start

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid-reader.c#L24
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-grid_reader_start/

```c
void grid_reader_start(struct grid_reader *gr, struct grid *gd, u_int cx, u_int cy)
```

## Parameters

- `gr` (`struct grid_reader *`)
- `gd` (`struct grid *`)
- `cx` (`u_int`)
- `cy` (`u_int`)

## Called by

- [`window_copy_cursor_back_to_indentation`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_back_to_indentation/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4306)
- [`window_copy_cursor_end_of_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4325)
- [`window_copy_cursor_jump`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_jump/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4578)
- [`window_copy_cursor_jump_back`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_jump_back/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4599)
- [`window_copy_cursor_jump_to`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_jump_to/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4621)
- [`window_copy_cursor_jump_to_back`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_jump_to_back/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4643)
- [`window_copy_cursor_left`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_left/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4399)
- [`window_copy_cursor_next_word`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_next_word/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4668)
- [`window_copy_cursor_next_word_end`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_next_word_end/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4722)
- [`window_copy_cursor_next_word_end_pos`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_next_word_end_pos/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4692)
- [`window_copy_cursor_previous_word`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_previous_word/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4770)
- [`window_copy_cursor_previous_word_pos`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_previous_word_pos/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4748)
- [`window_copy_cursor_right`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_right/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4418)
- [`window_copy_cursor_start_of_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cursor_start_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4287)

## Referenced by

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

## Referenced declarations

- [`grid_reader.cx`](/en/tmux/3.2a/reference/c-struct-grid_reader-cx/) (attribute)
- [`grid_reader.cy`](/en/tmux/3.2a/reference/c-struct-grid_reader-cy/) (attribute)
- [`grid_reader.gd`](/en/tmux/3.2a/reference/c-struct-grid_reader-gd/) (attribute)
- [`grid`](/en/tmux/3.2a/reference/c-struct-grid/) (struct)
- [`grid_reader`](/en/tmux/3.2a/reference/c-struct-grid_reader/) (struct)
