Using --resume with --name should still accept session IDs (#4937)

thank you!
This commit is contained in:
Will Pfleger
2025-10-01 22:18:46 -04:00
committed by GitHub
parent 345cc65bd3
commit 52e4308564
3 changed files with 14 additions and 1 deletions
+5
View File
@@ -758,6 +758,11 @@ impl CliSession {
}
}
}
if let Some(id) = &self.session_id {
println!("Closing session. Session ID: {}", console::style(id).cyan());
}
Ok(())
}
+8
View File
@@ -743,6 +743,14 @@ pub fn display_session_info(
);
}
if let Some(id) = session_id {
println!(
" {} {}",
style("session id:").dim(),
style(id).cyan().dim()
);
}
println!(
" {} {}",
style("working directory:").dim(),