Skip to content

Conversation

@STRML
Copy link

@STRML STRML commented Nov 3, 2016

This is because blessed is running its own version of
readline's emitKeypressEvents() to handle mouse escape
codes. Both implementations can be added to the same stream,
resulting in double keypress events.

Refusing to add the handler if another is present does not
fix the mouse escape codes, but it will warn and fix the
double input.

See #92 and nodejs/node#9447.

This is because blessed is running its own version of
readline's `emitKeypressEvents()` to handle mouse escape
codes. Both implementations can be added to the same stream,
resulting in double keypress events.

Refusing to add the handler if another is present does not
fix the mouse escape codes, but it will warn and fix the
double input.
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

Successfully merging this pull request may close these issues.

1 participant