bubbletea
bubbletea copied to clipboard
tea.ExecProcess writes View output to stdout before executing the command
Description
The program output gets printed to the terminal when Bubble Tea applications exit alt screen when tea.ExecProcess
is called.
How to replicate
You can see a clear example of a required workaround here. If you remove the m.quitting
when "e" is pressed (line 45), it will output the string from View
to the terminal which will persist after the program exits.
Related:
https://github.com/charmbracelet/bubbletea/discussions/424