Skip to content

Commit abc62e3

Browse files
committed
Improves console section header formatting
1 parent deb9259 commit abc62e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/easydiffraction/utils/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ def section(cls, title: str) -> None:
555555
"""Formats a section header with bold green text."""
556556
full_title = f'{title.upper()}'
557557
line = '━' * len(full_title)
558-
formatted = f'[bold green]{full_title}\n{line}[/bold green]'
558+
formatted = f'[bold green]\n{line}\n{full_title}\n{line}[/bold green]'
559559
if not in_jupyter():
560560
formatted = f'\n{formatted}'
561561
cls._console.print(formatted)

0 commit comments

Comments
 (0)