summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
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;