# Preserve trailing newline in \`TerminalOutput::full_text\` \(\#38061\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/bc528411dfd931162f9e4a0803ab19dda7775297)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: bc528411dfd931162f9e4a0803ab19dda7775297

Requested commit: bc528411dfd931162f9e4a0803ab19dda7775297

Commit: bc528411dfd931162f9e4a0803ab19dda7775297

Tree: bc9fcaa608ade84b3a57a4721491089e73ef47cc

Author: ImFeH2

Committer: GitHub

## Message

```
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`
```

## Parents

- [9ac511e47cf6dc313641cba7364de60ce78b737c](https://git.cafe/gitcafe/zed/commit/9ac511e47cf6dc313641cba7364de60ce78b737c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/bc528411dfd931162f9e4a0803ab19dda7775297?format=markdown)
