Skip to content

repl: surrogate pair upsets repl / terminal #690

Closed
@bnoordhuis

Description

$ out/Release/iojs
> Buffer([0,0xD8,0,0xDC]).toString('utf16le')
'
# screen freezes

The REPL still accepts input but no longer echoes it. Typing in process.exit() cleanly shuts down the process but the terminal isn't reset, leaving it in an unusable state until you run reset(1).

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.replIssues and PRs related to the REPL subsystem.stalledIssues and PRs that are stalled.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions