diff options
author | Small White <364772080@qq.com> | 2024-03-07 16:56:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 12:56:21 +0400 |
commit | 992011a4cd9a35f197acc0a0bd430d89a0d01013 (patch) | |
tree | 410d4a95f37c4480466b4705c9b0d45a54c7b5e4 /alacritty_terminal/src/tty/windows/mod.rs | |
parent | 55b36cebc474152c8d69d4b478bbd4b250b233bf (diff) | |
download | alacritty-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.rs | 4 |
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 { |