We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Console.log()
1 parent 04b236b commit 5819bb1Copy full SHA for 5819bb1
1 file changed
src/xulbux/console.py
@@ -524,7 +524,7 @@ def log(
524
px, mx = " " * title_px, " " * title_mx
525
526
# TITLE LENGTH INCLUDING PADDING AND MARGIN
527
- title_len: int = len(title) + (title_px * 2) + (title_mx * 2)
+ title_len: int = len(FormatCodes.remove(title)) + (title_px * 2) + (title_mx * 2)
528
529
# CALCULATE DISTANCE TO NEXT TAB STOP
530
tab: str = " " * (-title_len % tab_size)
0 commit comments