Skip to content

Commit 5833508

Browse files
print codex resume note when quitting after codex resume (#4695)
when exiting a session that was started with `codex resume`, the note about how to resume again wasn't being printed. thanks @aibrahim-oai for pointing out this issue!
1 parent d73055c commit 5833508

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codex-rs/cli/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ async fn cli_main(codex_linux_sandbox_exe: Option<PathBuf>) -> anyhow::Result<()
294294
last,
295295
config_overrides,
296296
);
297-
codex_tui::run_main(interactive, codex_linux_sandbox_exe).await?;
297+
let exit_info = codex_tui::run_main(interactive, codex_linux_sandbox_exe).await?;
298+
print_exit_messages(exit_info);
298299
}
299300
Some(Subcommand::Login(mut login_cli)) => {
300301
prepend_config_flags(

0 commit comments

Comments
 (0)