Closed joshka closed 2 weeks ago
Unsure whether to mark this as breaking - thoughts?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.4%. Comparing base (
127d706
) to head (133771c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In my opinion this is a bug and should not be considered breaking. Iād be surprised if someone intentionally were relying on this behavior. I think the issue is that if someone were unwittingly relying on this behavior, would they understand it is a bug or be frustrated that their code broke in a minor release? I personally lean toward the former.
Yeah, me too.I'm wary based on a recent similar assertion in unicode-width, where they changed behavior in a point release and which broke our tests. This will go out in 0.27.0, so it's in a release that can break things. I'm just unsure whether to document it as such or if the commit is enough here. We can always backfill the BREAKING CHANGES doc if needed on this.
Line::from("a\nb")
now returns a line with twoSpan
s instead of 1 Fixes: https://github.com/ratatui-org/ratatui/issues/1111