From 0c0483022855699b6f22347810f33fb7ce19a676 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Mon, 30 Oct 2023 15:56:49 -0500 Subject: [PATCH] update --- pyansi/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyansi/__init__.py b/pyansi/__init__.py index 367d15c..dc8f034 100644 --- a/pyansi/__init__.py +++ b/pyansi/__init__.py @@ -224,7 +224,7 @@ class ANSI: """wrap output in SOH/STX so that readline handles prompts properly""" @wraps(func) - def wrapped(ansi: ANSI, *args: P.args, **kwargs: P.kwargs) -> str: + def wrapped(ansi: "ANSI", *args: P.args, **kwargs: P.kwargs) -> str: result = "" if ansi.wrap: result += ansi.SOH