Skip to content

Commit 3e67724

Browse files
committed
added multiline support to display text
1 parent 711b7db commit 3e67724

4 files changed

Lines changed: 3 additions & 414 deletions

File tree

bootstrap.sh

Lines changed: 0 additions & 267 deletions
This file was deleted.

cmd.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

lld_chxr.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
logger.opt(colors = True)
3434
logger.add(sys.stderr, format=logger_format)
3535

36-
__version__ = '1.2.0'
36+
__version__ = '1.2.1'
3737

3838
DISPLAY_TITLE = r"""
3939
_ _ _ _ _
@@ -336,9 +336,10 @@ def add_positioned_text(options, max_x, max_y):
336336
x_pos, y_pos = padding, max_y - padding
337337
else:
338338
raise ValueError("Position must be 'top' or 'bottom'")
339+
options.addText = options.addText.replace("\\n", "\n")
339340

340341
plt.text(
341-
x_pos, y_pos, options.addText,
342+
x_pos, y_pos, f"{options.addText}",
342343
color=options.addTextColor,
343344
fontsize=options.addTextSize
344345
)

0 commit comments

Comments
 (0)