diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-08 17:13:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-08 17:13:11 +0800 |
| commit | 2539e24fe9eadf69cb20b01d2303a99fa2e8a363 (patch) | |
| tree | b1b4b6a9e9df9d16870219a53b75a4456829a005 /src/repl | |
| parent | ee812754313ebd16d34dff3d925afc4402c029fa (diff) | |
| download | aichat-2539e24fe9eadf69cb20b01d2303a99fa2e8a363.tar.gz | |
chore: improve code by getting prompt from config (#39)
Diffstat (limited to 'src/repl')
| -rw-r--r-- | src/repl/handler.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/repl/handler.rs b/src/repl/handler.rs index 59c8af5..5855208 100644 --- a/src/repl/handler.rs +++ b/src/repl/handler.rs @@ -49,11 +49,9 @@ impl ReplCmdHandler { return Ok(()); } let highlight = self.config.borrow().highlight; - let prompt = self.config.borrow().get_prompt(); let wg = WaitGroup::new(); let ret = render_stream( &input, - prompt, &self.client, highlight, true, |
