summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/tty/windows/mod.rs
diff options
context:
space:
mode:
authorSmall White <364772080@qq.com>2024-03-07 16:56:21 +0800
committerGitHub <noreply@github.com>2024-03-07 12:56:21 +0400
commit992011a4cd9a35f197acc0a0bd430d89a0d01013 (patch)
tree410d4a95f37c4480466b4705c9b0d45a54c7b5e4 /alacritty_terminal/src/tty/windows/mod.rs
parent55b36cebc474152c8d69d4b478bbd4b250b233bf (diff)
downloadalacritty-992011a4cd9a35f197acc0a0bd430d89a0d01013.tar.gz
alacritty-992011a4cd9a35f197acc0a0bd430d89a0d01013.zip
Expose more process info on Windows
Diffstat (limited to 'alacritty_terminal/src/tty/windows/mod.rs')
-rw-r--r--alacritty_terminal/src/tty/windows/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/alacritty_terminal/src/tty/windows/mod.rs b/alacritty_terminal/src/tty/windows/mod.rs
index cbd803f1..e42e2b6c 100644
--- a/alacritty_terminal/src/tty/windows/mod.rs
+++ b/alacritty_terminal/src/tty/windows/mod.rs
@@ -47,6 +47,10 @@ impl Pty {
) -> Self {
Self { backend: backend.into(), conout: conout.into(), conin: conin.into(), child_watcher }
}
+
+ pub fn child_watcher(&self) -> &ChildExitWatcher {
+ &self.child_watcher
+ }
}
fn with_key(mut event: Event, key: usize) -> Event {