-
-
Notifications
You must be signed in to change notification settings - Fork 597
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
Expected behavior when there is no output TTY #667
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a command with long-running output in a
<Static>
which we would like our users to be able to pipe into a command likemore
orless
. However ink does not seem to handle piped output / lack of TTY as there are ANSI escapes in the output. You also see re-renders for non-Static elements.If you simulate a CI run via environment variable, it actually behaves exactly as I would expect:
Shouldn't ink behave the same way for
!process.stdout.isTTY
as it would forisInCi
? Is support for piping output not a common requirement in ink-based CLIs?The text was updated successfully, but these errors were encountered: