This commit is contained in:
Jeffrey C. Ollie 2023-10-30 15:56:49 -05:00
parent 58bbd979c3
commit 0c04830228
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -224,7 +224,7 @@ class ANSI:
"""wrap output in SOH/STX so that readline handles prompts properly""" """wrap output in SOH/STX so that readline handles prompts properly"""
@wraps(func) @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 = "" result = ""
if ansi.wrap: if ansi.wrap:
result += ansi.SOH result += ansi.SOH