aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.rs')
-rw-r--r--src/process.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/process.rs b/src/process.rs
index ed3344c..f5c76ed 100644
--- a/src/process.rs
+++ b/src/process.rs
@@ -20,6 +20,9 @@ pub enum Event {
/// Emitted when the command has exited.
CommandExit { status: std::process::ExitStatus },
+
+ /// Emitted by a `ResizingProcess` when a resize event happens
+ Resize { size: (u16, u16) },
}
struct State {
@@ -354,6 +357,7 @@ mod test {
assert!(status.success());
exited = true;
}
+ Event::Resize { .. } => {}
}
}
assert!(exited);