Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accessing Stdout #267

Closed
tgirod opened this issue Mar 25, 2022 · 3 comments
Closed

accessing Stdout #267

tgirod opened this issue Mar 25, 2022 · 3 comments

Comments

@tgirod
Copy link

tgirod commented Mar 25, 2022

For an application that is not using AltScreen, is it safe to have a tea.Cmd that writes stuff to Stdout, or could it break the display somehow with some unfortunate concurrent access?

@tgirod
Copy link
Author

tgirod commented Mar 26, 2022

Trying to answer this myself with pull request #268

@meowgorithm
Copy link
Member

Hi there! This is definitely a feature we'd like to see. There are a number of subtle nuances to getting this right, particularly working in-step with the renderer. That said, there's an open PR for this (#249) which I believe is close, if not there.

Want to give that a try and chime in as to whether or not it's working for you?

@meowgorithm
Copy link
Member

(Also closing as this is a dup of #179.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants