# tmuxp.workspace.options.PaneReadiness

- **Module:** tmuxp.workspace.options
- **Package:** tmuxp
- **Language:** Python
- **Kind:** class
- **Source:** https://github.com/tmux-python/tmuxp/blob/153acdf6ff1268b14d3d03ed488f545a7123c8f1/src/tmuxp/workspace/options.py#L31
- **Bases:** [`enum.Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)
- **Page:** https://libtmux.org/en/py/stable/workspace/reference/tmuxp-workspace-options-panereadiness/

Policy for whether the builder waits for a pane's shell prompt.

tmuxp waits for each default-shell pane to draw its prompt before
dispatching layout and commands, which avoids a zsh prompt-redraw artifact
(see :func:`tmuxp.workspace.builder.classic._wait_for_pane_ready`). The wait
is only needed for zsh, so the default
:attr:`~tmuxp.workspace.options.PaneReadiness.AUTO` policy waits only when
the session's interactive shell is zsh.

## Members

### Common operations

- [`from_config`](/en/py/stable/workspace/reference/tmuxp-workspace-options-panereadiness-from_config/) (method): Parse a ``pane_readiness`` config value into a policy.

### Other members

- [`ALWAYS`](/en/py/stable/workspace/reference/tmuxp-workspace-options-panereadiness-always/) (attribute)
- [`AUTO`](/en/py/stable/workspace/reference/tmuxp-workspace-options-panereadiness-auto/) (attribute)
- [`NEVER`](/en/py/stable/workspace/reference/tmuxp-workspace-options-panereadiness-never/) (attribute)
