Functions
terminal_env
1
Environment
▼
Create an Environment pre-configured for terminal output.
Convenience wrapper …
terminal_env
1
Environment
▼
def terminal_env(**kwargs) -> Environment
Create an Environment pre-configured for terminal output.
Convenience wrapper that sets autoescape="terminal" and adds a loader for the built-in terminal component templates.
All keyword arguments are passed to Environment, including: ambiguous_width: Override character width for ambiguous Unicode symbols (1=narrow, 2=wide). Auto-detected if not specified.
Parameters
| Name | Type | Description |
|---|---|---|
**kwargs |
— |
Returns
Environment