bubbletea icon indicating copy to clipboard operation
bubbletea copied to clipboard

tea.ExecProcess writes View output to stdout before executing the command

Open bashbunni opened this issue 1 year ago • 0 comments

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

bashbunni avatar Aug 30 '22 21:08 bashbunni