Skip to content

Commit

Permalink
feat: change REPL indicators (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Dec 7, 2023
1 parent 075631d commit e727239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/repl/prompt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ impl Prompt for ReplPrompt {

fn render_prompt_indicator(&self, _prompt_mode: reedline::PromptEditMode) -> Cow<str> {
if self.config.read().session.is_some() {
Cow::Borrowed("")
Cow::Borrowed(") ")
} else {
Cow::Borrowed("")
Cow::Borrowed("> ")
}
}

Expand Down

0 comments on commit e727239

Please sign in to comment.