diff options
| author | sigoden <sigoden@gmail.com> | 2023-11-07 19:14:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-07 19:14:58 +0800 |
| commit | 6bb2ec05be1a502c70e95799af167ab4f6662cd5 (patch) | |
| tree | 9d2ee1e9aabbcfbaefcc0d79c956fc39c102e866 /src/render | |
| parent | 534733b77cb1baef1459faa16a45d75c5f6275e3 (diff) | |
| download | aichat-6bb2ec05be1a502c70e95799af167ab4f6662cd5.tar.gz | |
feat: add `config.prelude` to allow setting default role/session (#224)
Diffstat (limited to 'src/render')
| -rw-r--r-- | src/render/repl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/repl.rs b/src/render/repl.rs index 34212c3..ca11e17 100644 --- a/src/render/repl.rs +++ b/src/render/repl.rs @@ -83,7 +83,7 @@ fn repl_render_stream_inner( queue!(writer, style::Print(&buffer),)?; // No guarantee the buffer width of the buffer will not exceed the number of columns. - // So we calcuate the number of rows needed, rather than setting it directly to 1. + // So we calculate the number of rows needed, rather than setting it directly to 1. buffer_rows = need_rows(&buffer, columns); } else { buffer = format!("{buffer}{text}"); |
