jesseduffield / jesseduffield/lazygit
Pasting into the commit description discards newlines
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Describe the bug**
When pasting into from the clipboard into the commit description field, any newlines will be discarded and the entire text will end up on one line.
**To Reproduce**
Steps to reproduce the behavior:
1. Copy the following:
```
- This is a description for a change
- This is a description for another change
- This is a description for yet another change
```
2. Paste it into the commit description with ctrl+shift+v
3. See text on one line
**Expected behavior**
Line breaks are kept
**Screenshots**

**Version info:**
commit=, build date=, build source=nix, version=0.40.2, os=linux, arch=amd64, git version=2.43.2
git version 2.43.2
Contributor guide
Assessment
This issue has not been assessed yet.