summaryrefslogtreecommitdiffstats
path: root/src/repl
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-12-08 07:03:42 +0800
committerGitHub <noreply@github.com>2023-12-08 07:03:42 +0800
commite7272398dd96c2c9f9548cd81cd3a11680ddf74b (patch)
treea29f70835b8cf33baefa5859ca87aa14337c33a6 /src/repl
parent075631d794c75c1a06691243bf052e85a08d24b8 (diff)
downloadaichat-e7272398dd96c2c9f9548cd81cd3a11680ddf74b.tar.gz
feat: change REPL indicators (#263)
Diffstat (limited to 'src/repl')
-rw-r--r--src/repl/prompt.rs4
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("> ")
}
}