Skip to content

FR: CodeBlocks in REPL. #20817

Closed
Closed
@hemanth

Description

@hemanth
$ node --version
v10.0.0

$ uname
Darwin LM-BNG-22004407 16.7.0 Darwin Kernel Version 16.7.0

So, today:

$ node

> obj = {
... 
... 
... }

# If we hit the up arrow key, we see
> }

> obj = {

Rather, if we could display the entire code block, when we do an up arrow, like:

$ node

> obj = {
... 
... 
... }

# If we hit the up arrow key, we must see

> obj = {}

This should make life on the REPL much easier.

Very similar to how devtool console treats code blocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions