Skip to content

Commit

Permalink
fix new lines wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Nov 4, 2024
1 parent d1e5fd0 commit b268c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def get_current_style() -> Style:
if end:
yield end, base_style

def render_segments(self, base_style: Style, end: str = "\n") -> list[Segment]:
def render_segments(self, base_style: Style, end: str = "") -> list[Segment]:
_Segment = Segment
segments = [
_Segment(text, style.rich_style)
Expand Down

0 comments on commit b268c6f

Please sign in to comment.