Skip to content

CLI uses | instead of ... for continuation #1768

@edemaine

Description

@edemaine

Node seems to have recently changed the continuation prompt from ... to :. Relevant PR: nodejs/node#57400

This means our prompts are no longer vertically aligned, which makes it hard to type indentation manually. We should find a way to restore, possibly by overriding displayPrompt.

Old Node

⟫ civet -c
Civet 0.9.0 REPL.  Enter a blank line to transpile code.
🐈> a^1
...
a
🐈>

New Node

⟫ civet -c
Civet 0.10.5 REPL.  Enter a blank line to transpile code.
🐈> a^1
|
a
🐈>

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCommand-line interface issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions