Skip to content

Repl line continuation prompt prefix #12702

Open
@roberth

Description

@roberth

Is your feature request related to a problem?

nix-repl> ((((foo) bar) baz)

Is it running or is it waiting for input?
Kind of hard to tell, because if it were waiting for input, nix repl doesn't provide a prompt line (except for some indentation, which isn't nearly as obvious).

Proposed solution

nix-repl> (((foo bar baz))
        >

(as it was waiting for input)

Alternative solutions

A spinner and/or progress bar when evaluating; slightly trickier maybe, because printValue relies on disabling the progress bar.

Additional context

Checklist


Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature request or proposalgood first issueQuick win for first-time contributorsreplThe Read Eval Print Loop, "nix repl" command and debugger

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions