From 6bb2ec05be1a502c70e95799af167ab4f6662cd5 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 7 Nov 2023 19:14:58 +0800 Subject: feat: add `config.prelude` to allow setting default role/session (#224) --- src/render/repl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/repl.rs') 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}"); -- cgit v1.2.3