diff --git a/pupy/pupylib/utils/term.py b/pupy/pupylib/utils/term.py index 6c5eebaf..d67879aa 100644 --- a/pupy/pupylib/utils/term.py +++ b/pupy/pupylib/utils/term.py @@ -361,8 +361,8 @@ def hint_to_text(text, width=0): ]) elif hint == Section: return '\n'.join([ - colorize('#>#> ','green') + hint_to_text(text.data, width)+ colorize(' <#<#','green'), - hint_to_text(text.payload, width) + colorize('#>#> ','green') + hint_to_text(text.header, width)+ colorize(' <#<#','green'), + hint_to_text(text.data, width) ]) elif hint == Line: return text.dm.join(hint_to_text(v, width) for v in text.data)