Skip to content

Commit c0912a1

Browse files
authored
Merge pull request #12846 from allrealmsoflife/clearer-continuation-prompt
repl: improve continuation prompt for incomplete expressions
2 parents c4b8118 + d3ebbb3 commit c0912a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcmd/repl-interacter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ static constexpr const char * promptForType(ReplPromptType promptType)
135135
case ReplPromptType::ReplPrompt:
136136
return "nix-repl> ";
137137
case ReplPromptType::ContinuationPrompt:
138-
return " ";
138+
return " > "; // 9 spaces + >
139139
}
140140
assert(false);
141141
}

0 commit comments

Comments
 (0)