summaryrefslogtreecommitdiffstats
path: root/src/main.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/main.rs
parent23e9fb5bbf96cd4a93f4150659a99b4055623b9f (diff)
downloadaichat-2168610dbda294420a88a0bee4e56157c8fa3407.tar.gz
chore: spellcheck
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index a7850b5..a23a81f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -101,8 +101,8 @@ fn start_directive(
input: &str,
no_stream: bool,
) -> Result<()> {
- if let Some(sesion) = &config.read().session {
- sesion.guard_save()?;
+ if let Some(session) = &config.read().session {
+ session.guard_save()?;
}
if !stdout().is_terminal() {
config.write().highlight = false;