# screen_reinit

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L95
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-screen_reinit/

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

## Parameters

- `s` (`struct screen *`)

## Called by

- [`screen_init`](/en/tmux/3.2a/reference/c-function-screen_init/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L90)
- [`spawn_pane`](/en/tmux/3.2a/reference/c-function-spawn_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/spawn.c#L252)

## Calls

- [`grid_clear_lines`](/en/tmux/3.2a/reference/c-function-grid_clear_lines/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L114)
- [`options_get_number`](/en/tmux/3.2a/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L104)
- [`screen_alternate_off`](/en/tmux/3.2a/reference/c-function-screen_alternate_off/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L108)
- [`screen_clear_selection`](/en/tmux/3.2a/reference/c-function-screen_clear_selection/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L116)
- [`screen_free_titles`](/en/tmux/3.2a/reference/c-function-screen-c-screen_free_titles/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L117)
- [`screen_reset_tabs`](/en/tmux/3.2a/reference/c-function-screen_reset_tabs/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L112)

## Referenced by

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

## Referenced declarations

- [`screen.cx`](/en/tmux/3.2a/reference/c-struct-screen-cx/) (attribute)
- [`screen.cy`](/en/tmux/3.2a/reference/c-struct-screen-cy/) (attribute)
- [`global_options`](/en/tmux/3.2a/reference/c-variable-global_options/) (attribute)
- [`screen.grid`](/en/tmux/3.2a/reference/c-struct-screen-grid/) (attribute)
- [`grid.hsize`](/en/tmux/3.2a/reference/c-struct-grid-hsize/) (attribute)
- [`screen.mode`](/en/tmux/3.2a/reference/c-struct-screen-mode/) (attribute)
- [`MODE_CURSOR`](/en/tmux/3.2a/reference/c-define-tmux-h-mode_cursor/) (constant)
- [`MODE_KEXTENDED`](/en/tmux/3.2a/reference/c-define-tmux-h-mode_kextended/) (constant)
- [`MODE_WRAP`](/en/tmux/3.2a/reference/c-define-tmux-h-mode_wrap/) (constant)
- [`screen.rlower`](/en/tmux/3.2a/reference/c-struct-screen-rlower/) (attribute)
- [`screen.rupper`](/en/tmux/3.2a/reference/c-struct-screen-rupper/) (attribute)
- [`screen.saved_cx`](/en/tmux/3.2a/reference/c-struct-screen-saved_cx/) (attribute)
- [`screen.saved_cy`](/en/tmux/3.2a/reference/c-struct-screen-saved_cy/) (attribute)
- [`screen.saved_grid`](/en/tmux/3.2a/reference/c-struct-screen-saved_grid/) (attribute)
- [`screen`](/en/tmux/3.2a/reference/c-struct-screen/) (struct)
- [`screen_size_y`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`grid.sy`](/en/tmux/3.2a/reference/c-struct-grid-sy/) (attribute)
