diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-10 09:52:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 09:52:40 +0800 |
| commit | 1dc16e67098018112d8cd838537904381d3aaa89 (patch) | |
| tree | 0eec9d494e94530878fc108b9e3c84e38ae71fee /src/config | |
| parent | 54e6edbf2121c780c3bf297ec5e30d80f68e3763 (diff) | |
| download | aichat-1dc16e67098018112d8cd838537904381d3aaa89.tar.gz | |
feat: type `{` `[` `(` to enter multi-line editing mode (#58)
Abandon `.editor` command, it's too complicated.
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/role.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/role.rs b/src/config/role.rs index 5155ea1..16f7bc1 100644 --- a/src/config/role.rs +++ b/src/config/role.rs @@ -39,7 +39,7 @@ impl Role { if self.embeded() { merge_prompt_content(&self.prompt, content) } else { - format!("{}{content}", self.prompt) + format!("{}\n{content}", self.prompt) } } |
