# screen_reinit

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L107
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-screen_reinit/

```c
void screen_reinit(struct screen *s)
```

## Parameters

- `s` (`struct screen *`)

## Called by

- [`screen_init`](/en/tmux/3.7c/reference/c-function-screen_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L102)
- [`spawn_pane`](/en/tmux/3.7c/reference/c-function-spawn_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/spawn.c#L261)

## Calls

- [`grid_clear_lines`](/en/tmux/3.7c/reference/c-function-grid_clear_lines/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L127)
- [`options_get_number`](/en/tmux/3.7c/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L117)
- [`screen_alternate_off`](/en/tmux/3.7c/reference/c-function-screen_alternate_off/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L121)
- [`screen_clear_selection`](/en/tmux/3.7c/reference/c-function-screen_clear_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L129)
- [`screen_free_titles`](/en/tmux/3.7c/reference/c-function-screen-c-screen_free_titles/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L130)
- [`screen_reset_hyperlinks`](/en/tmux/3.7c/reference/c-function-screen_reset_hyperlinks/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L137)
- [`screen_reset_tabs`](/en/tmux/3.7c/reference/c-function-screen_reset_tabs/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L125)
- [`screen_set_progress_bar`](/en/tmux/3.7c/reference/c-function-screen_set_progress_bar/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L136)

## Referenced declarations

- [`screen.cx`](/en/tmux/3.7c/reference/c-struct-screen-cx/) (attribute)
- [`screen.cy`](/en/tmux/3.7c/reference/c-struct-screen-cy/) (attribute)
- [`EXTENDED_KEY_MODES`](/en/tmux/3.7c/reference/c-define-tmux-h-extended_key_modes/) (constant)
- [`global_options`](/en/tmux/3.7c/reference/c-variable-global_options/) (attribute)
- [`screen.grid`](/en/tmux/3.7c/reference/c-struct-screen-grid/) (attribute)
- [`grid.hsize`](/en/tmux/3.7c/reference/c-struct-grid-hsize/) (attribute)
- [`screen.mode`](/en/tmux/3.7c/reference/c-struct-screen-mode/) (attribute)
- [`MODE_CRLF`](/en/tmux/3.7c/reference/c-define-tmux-h-mode_crlf/) (constant)
- [`MODE_CURSOR`](/en/tmux/3.7c/reference/c-define-tmux-h-mode_cursor/) (constant)
- [`MODE_KEYS_EXTENDED`](/en/tmux/3.7c/reference/c-define-tmux-h-mode_keys_extended/) (constant)
- [`MODE_WRAP`](/en/tmux/3.7c/reference/c-define-tmux-h-mode_wrap/) (constant)
- [`PROGRESS_BAR_HIDDEN`](/en/tmux/3.7c/reference/c-enum-progress_bar_state-progress_bar_hidden/) (constant)
- [`screen.rlower`](/en/tmux/3.7c/reference/c-struct-screen-rlower/) (attribute)
- [`screen.rupper`](/en/tmux/3.7c/reference/c-struct-screen-rupper/) (attribute)
- [`screen.saved_cx`](/en/tmux/3.7c/reference/c-struct-screen-saved_cx/) (attribute)
- [`screen.saved_cy`](/en/tmux/3.7c/reference/c-struct-screen-saved_cy/) (attribute)
- [`screen`](/en/tmux/3.7c/reference/c-struct-screen/) (struct)
- [`SCREEN_IS_ALTERNATE`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_is_alternate/) (constant)
- [`screen_size_y`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`grid.sy`](/en/tmux/3.7c/reference/c-struct-grid-sy/) (attribute)
