diff --git a/data/com.github.marhkb.Pods.metainfo.xml.in.in b/data/com.github.marhkb.Pods.metainfo.xml.in.in
index 374ff215..cd21d6a3 100644
--- a/data/com.github.marhkb.Pods.metainfo.xml.in.in
+++ b/data/com.github.marhkb.Pods.metainfo.xml.in.in
@@ -47,6 +47,7 @@
Pods 2.1.0 contains the following changes:
- Build about dialog from appdata. (#743)
+ - Close all remaining processes after container terminal exits. (#744)
diff --git a/src/view/container_terminal.rs b/src/view/container_terminal.rs
index 89f15413..dcba8ba3 100644
--- a/src/view/container_terminal.rs
+++ b/src/view/container_terminal.rs
@@ -1,3 +1,4 @@
+use std::cell::Cell;
use std::cell::RefCell;
use std::sync::OnceLock;
@@ -33,6 +34,7 @@ const ACTION_PASTE: &str = "container-terminal.paste";
enum ExecInput {
Data(Vec),
Resize { columns: usize, rows: usize },
+ Terminate,
}
mod imp {
@@ -43,7 +45,8 @@ mod imp {
#[template(resource = "/com/github/marhkb/Pods/ui/view/container_terminal.ui")]
pub(crate) struct ContainerTerminal {
pub(super) settings: utils::PodsSettings,
- pub(super) tx_tokio: RefCell