Replies: 1 comment
-
You can initialize a new There's also some more work in progress in this branch: https://github.com/charmbracelet/bubbletea/tree/termenv-output |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
See https://github.com/charmbracelet/bubbletea/blob/master/tea.go#L257-L258
There does not seem to be an option to set input/output to something other than stdin/stdout. It would be better go-ism to let the program struct export those member fields rather than protect them and use the option methods unless you have a very good reason, or you need full options to set those inner fields.
As the
Program
struct sits today, it is not very unit testable.Beta Was this translation helpful? Give feedback.
All reactions