Crash when commiting after `open_commit_editor()`
- Dominant language
- Rust
- Stars
- 22.5k
- Forks
- 773
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
After I edit some files using `open_commit_editor` and commit the file, `gitui` is crashed
If I edit message in native commit box intead of `open_commit_editor()`, the commit successed.
But It crashed always after I edit some file using `open_commit_editor`
**To Reproduce**
Steps to reproduce the behavior:
1. edit file in unstaged changes box
2. Press `open_commit`
3. Press `open_commit_editor` shortcut and edit additionally
4. close editor
5. Press `commit` shorcut
6. gitui is crashed and return to terminal
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Context (please complete the following information):**
- Windows 10 Pro 22H2
- 0.28.0 (5527160)
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.