Skip to content

Fix logic to check for TTY#146

Merged
schlessera merged 1 commit intowp-cli:masterfrom
dan-m-joh:patch-1
Aug 11, 2022
Merged

Fix logic to check for TTY#146
schlessera merged 1 commit intowp-cli:masterfrom
dan-m-joh:patch-1

Conversation

@dan-m-joh
Copy link
Contributor

The function isTty() in Streams.php returns wrong information.
If the output is to an TTY then it returns false and if the output is a pipe or file it returns true, it should be the other way around.

The function isTty() in Streams.php returns wrong information.
If the output is to an TTY then it returns false and if the output is a pipe or file it returns true, it should be the other way around.
@schlessera schlessera merged commit b565706 into wp-cli:master Aug 11, 2022
@schlessera schlessera changed the title Update Streams.php Fix logic to check for TTY Aug 11, 2022
@schlessera schlessera added this to the 0.11.15 milestone Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants