diff options
| author | sigoden <sigoden@gmail.com> | 2023-12-08 07:03:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-08 07:03:42 +0800 |
| commit | e7272398dd96c2c9f9548cd81cd3a11680ddf74b (patch) | |
| tree | a29f70835b8cf33baefa5859ca87aa14337c33a6 /src | |
| parent | 075631d794c75c1a06691243bf052e85a08d24b8 (diff) | |
| download | aichat-e7272398dd96c2c9f9548cd81cd3a11680ddf74b.tar.gz | |
feat: change REPL indicators (#263)
Diffstat (limited to 'src')
| -rw-r--r-- | src/repl/prompt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repl/prompt.rs b/src/repl/prompt.rs index 827f84d..30600af 100644 --- a/src/repl/prompt.rs +++ b/src/repl/prompt.rs @@ -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("> ") } } |
