Preserve trailing newline in TerminalOutput::full_text (#38061)

Closes #30678

This is caused by `TerminalOutput::full_text` triming trailing newline
when creating the "REPL Output" buffer.

Release Notes:

- fix: Preserve trailing newline in `TerminalOutput::full_text`
This commit is contained in:
ImFeH2
2025-09-23 12:11:35 -07:00
committed by GitHub
parent 9ac511e47c
commit bc528411df
+1 -2
View File
@@ -231,8 +231,7 @@ impl TerminalOutput {
}
}
// Trim any trailing newlines
full_text.trim_end().to_string()
full_text
}
}