Skip to content

Conversation

kmvanbrunt
Copy link

@kmvanbrunt kmvanbrunt commented Jul 14, 2025

Type of changes

  • Bug fix
  • Tests

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @willmcgugan may be pedantic in the code review.

Description

Fixes #3577

Ensures that Text.from_ansi() converts a trailing line break to a newline character instead of removing it.

@kmvanbrunt kmvanbrunt changed the title Fixed issue where Text.from_ansi() was removing trailing line breaks. Fixed issue where Text.from_ansi() was removing ending line break. Jul 14, 2025
@kmvanbrunt kmvanbrunt changed the title Fixed issue where Text.from_ansi() was removing ending line break. Fixed Text.from_ansi() removing a trailing newline. Aug 19, 2025
@kmvanbrunt kmvanbrunt marked this pull request as draft August 20, 2025 00:36
@kmvanbrunt kmvanbrunt changed the title Fixed Text.from_ansi() removing a trailing newline. Fixed Text.from_ansi() removing a trailing line break. Aug 20, 2025
@kmvanbrunt kmvanbrunt changed the title Fixed Text.from_ansi() removing a trailing line break. Fixed Text.from_ansi() removing trailing line break. Aug 20, 2025
@kmvanbrunt kmvanbrunt marked this pull request as ready for review August 20, 2025 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Trailing line break removed by Text.from_ansi().

1 participant