aboutsummaryrefslogtreecommitdiff
path: root/src/app/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/mod.rs')
-rw-r--r--src/app/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs
index bff04c44..16cfeafb 100644
--- a/src/app/mod.rs
+++ b/src/app/mod.rs
@@ -130,6 +130,7 @@ pub struct App {
pub(crate) selection_highlight_clear_deadline: Option<Instant>,
pub(crate) session_save_deadline: Option<Instant>,
pub(crate) session_save_thread: Option<std::thread::JoinHandle<()>>,
+ pub(crate) detached_custom_command_children: Vec<std::process::Child>,
pub(crate) persist_pane_history: bool,
pub(crate) last_render_at: Option<Instant>,
pub(crate) suppressed_repeat_keys:
@@ -725,6 +726,7 @@ impl App {
pending_agent_resume_deadline: None,
session_save_deadline: None,
session_save_thread: None,
+ detached_custom_command_children: Vec::new(),
selection_autoscroll_deadline: None,
selection_highlight_clear_deadline: None,
persist_pane_history: config.experimental.pane_history,
@@ -879,6 +881,7 @@ impl App {
let mut host_mouse_capture_active = self.state.mouse_capture;
while !self.state.should_quit {
+ self.reap_finished_custom_commands();
if self.render_dirty.load(Ordering::Acquire) {
needs_render = true;
}