Skip to content

node 10.2.0+ turning off stty echo when using process.stdin.setRawMode() #21020

Closed
@jdx

Description

@jdx
  • Version: 10.2.0
  • Platform: MacOS
  • Subsystem: Unsure right now

Starting with node 10.2.0 it is behaving as if I'm running stty -echo and hides the echo output when using heroku run and typing characters in. Node 10.3.0 and 10.3.1 also have the issue, but 10.1.0 and lower does not.

Right now I'm working on providing a simpler example that does not involve the Heroku CLI. I'm assuming this is something related to using .setRawMode() but will update when I have more information.

Update: Here is a simpler example: node -e "process.stdin.setRawMode(true)" in bash. It sets stty -echo.

If you run this in node 10.1.0, nothing happens. If you run it in 10.2.0 in bash, it will turn echo off.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.ttyIssues and PRs related to the tty subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions