summaryrefslogtreecommitdiffstats
path: root/src/shell/history/entry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell/history/entry.rs')
-rw-r--r--src/shell/history/entry.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell/history/entry.rs b/src/shell/history/entry.rs
index 01aad8b..a45d99d 100644
--- a/src/shell/history/entry.rs
+++ b/src/shell/history/entry.rs
@@ -343,7 +343,7 @@ impl Entry {
env: Env,
event_w: async_std::channel::Sender<Event>,
) {
- self.state = State::Exited(ExitInfo::new(*env.latest_status()));
+ self.state = State::Exited(ExitInfo::new(env.latest_status()));
self.env = env;
event_w.send(Event::PtyClose).await.unwrap();
}