summaryrefslogtreecommitdiff
path: root/gdb-helpers/rp2040.py
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-22 03:26:04 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-22 19:32:44 -0600
commit8f98e46ecb901df499010e77e17d044ce2f3f3a4 (patch)
treeb84518bfe9084bd4b79df742d56d5cbe46d95369 /gdb-helpers/rp2040.py
parenta3e4bb076965497736b07ed38b92646fb5c7c219 (diff)
Python: Clean up f-strings
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