From 1b87a061d8fa047eac2bc1dc93e60cd2489e477b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 4 Mar 2022 18:55:29 -0500 Subject: remove the mutex around exit_info it is small enough that copying it is not really a big deal --- src/shell/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shell/mod.rs') diff --git a/src/shell/mod.rs b/src/shell/mod.rs index 0f42cde..461e359 100644 --- a/src/shell/mod.rs +++ b/src/shell/mod.rs @@ -224,7 +224,8 @@ impl Shell { ); self.scene = self.default_scene(self.focus); } - Event::ChildExit(idx, env) => { + Event::ChildExit(idx, exit_info, env) => { + self.history.entry_mut(idx).exited(exit_info); if self.focus_idx() == Some(idx) { if let Some(env) = env { if self.hide_readline { -- cgit v1.2.3-54-g00ecf