update
This commit is contained in:
parent
58bbd979c3
commit
0c04830228
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue