Skip to content

Commit

Permalink
doc(pikaprint): add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Sep 13, 2024
1 parent 9313a77 commit 00b4176
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pikaur/pikaprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ def create_linebreak() -> None:
])


# @TODO: see if i could reuse https://docs.python.org/3/library/textwrap.html
# for the below functions:


def make_equal_right_padding(multiline_string: str, length: int | None = None) -> str:
lines = multiline_string.splitlines()
max_string_length = max(printable_length(line) for line in lines)
Expand Down

0 comments on commit 00b4176

Please sign in to comment.