diff --git a/typer/models.py b/typer/models.py index 53fca273b4..93fad3b40d 100644 --- a/typer/models.py +++ b/typer/models.py @@ -517,7 +517,9 @@ def __init__( pretty_exceptions_enable: bool = True, pretty_exceptions_show_locals: bool = True, pretty_exceptions_short: bool = True, + pretty_exceptions_width: int = 100, ) -> None: self.pretty_exceptions_enable = pretty_exceptions_enable self.pretty_exceptions_show_locals = pretty_exceptions_show_locals self.pretty_exceptions_short = pretty_exceptions_short + self.pretty_exceptions_width = pretty_exceptions_width