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

Enable interactive mode only on tty.WriteStream streams. Fixes #55 #82

Merged
merged 1 commit into from
Feb 26, 2019

Conversation

klaudiosinani
Copy link
Owner

@klaudiosinani klaudiosinani commented Feb 26, 2019

Description

The PR restricts the use of the interactive mode only on tty.WriteStream writable streams, due to the fact that the following functions, that are utilized by the mode, are unavailable on non-TTY writables, i.e. fs.WriteStream streams, IDE consoles etc:

In the future, the above-described methods will be employed through the readline module API instead of the currently used tty, due to the deprecated nature of the last.

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

Successfully merging this pull request may close these issues.

1 participant