charmbracelet / charmbracelet/bubbletea
Force newline after rendering the final View
Open
enhancement
- Dominant language
- Go
- Stars
- 44.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
If the final call to `View()` (after emitting `tea.Quit`) does not end with a newline it is immediately overwritten by the shell prompt or by any other output. This can be a bit surprising and it's hard to debug if you don't know what happens.
It can be avoided by appending a newline to the result of the final call to `View()` if this result is not empty.
Contributor guide
Assessment
This issue has not been assessed yet.