summaryrefslogtreecommitdiff
path: root/gdb-helpers/rp2040.py
diff options
context:
space:
mode:
Diffstat (limited to 'gdb-helpers/rp2040.py')
-rw-r--r--gdb-helpers/rp2040.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb-helpers/rp2040.py b/gdb-helpers/rp2040.py
index 45bdbc7..087974d 100644
--- a/gdb-helpers/rp2040.py
+++ b/gdb-helpers/rp2040.py
@@ -32,7 +32,7 @@ def box(title: str, content: str) -> str:
ret = "┏━[" + title + "]" + ("━" * (width - len(title) - 5)) + "┓\n"
for line in content.split("\n"):
- ret += f"┃ {line.ljust(width-4)} ┃\n"
+ ret += f"┃ {line:<{width-4}} ┃\n"
ret += "┗" + ("━" * (width - 2)) + "┛"
return ret