summaryrefslogtreecommitdiffstats
path: root/src/render/repl.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-10-30 15:08:49 +0800
committersigoden <sigoden@gmail.com>2023-10-30 15:08:49 +0800
commit2168610dbda294420a88a0bee4e56157c8fa3407 (patch)
tree66c34330dfff710e91834328e71c426d8ed4cbdc /src/render/repl.rs
parent23e9fb5bbf96cd4a93f4150659a99b4055623b9f (diff)
downloadaichat-2168610dbda294420a88a0bee4e56157c8fa3407.tar.gz
chore: spellcheck
Diffstat (limited to 'src/render/repl.rs')
-rw-r--r--src/render/repl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/repl.rs b/src/render/repl.rs
index bbc0d2c..f65ff1d 100644
--- a/src/render/repl.rs
+++ b/src/render/repl.rs
@@ -53,7 +53,7 @@ fn repl_render_stream_inner(
ReplyStreamEvent::Text(text) => {
let (col, mut row) = cursor::position()?;
- // fix unxpected duplicate lines on kitty, see https://github.com/sigoden/aichat/issues/105
+ // fix unexpected duplicate lines on kitty, see https://github.com/sigoden/aichat/issues/105
if col == 0 && row > 0 && display_width(&buffer) == columns as usize {
row -= 1;
}