From 78090e80b9d7012fd00930f54bbc40ee8679767f Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sun, 29 Oct 2023 16:51:36 -0500 Subject: [PATCH] default to C0 mode --- pyansi/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyansi/__init__.py b/pyansi/__init__.py index 4dcf924..c5662cb 100644 --- a/pyansi/__init__.py +++ b/pyansi/__init__.py @@ -191,7 +191,7 @@ class ANSI: mode: Mode wrap: bool - def __init__(self: Self, mode: Mode, wrap: bool = False) -> None: + def __init__(self: Self, mode: Mode = Mode.C0, wrap: bool = False) -> None: self.mode = mode self.wrap = wrap