diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-01-09 22:46:15 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-01-09 22:46:15 -0500 |
commit | cba75be9c673b846ad0c4f6f5f2e8461056582ad (patch) | |
tree | c755fdea87b947cc62984da060220acfa46e8a0d /src/shell/history/mod.rs | |
parent | 973346c5e426d6a1b684d36ba779bf3e8f5b71b1 (diff) | |
download | nbsh-cba75be9c673b846ad0c4f6f5f2e8461056582ad.tar.gz nbsh-cba75be9c673b846ad0c4f6f5f2e8461056582ad.zip |
rename
since this doesn't just run pipelines anymore
Diffstat (limited to 'src/shell/history/mod.rs')
-rw-r--r-- | src/shell/history/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shell/history/mod.rs b/src/shell/history/mod.rs index 429545b..b241ca5 100644 --- a/src/shell/history/mod.rs +++ b/src/shell/history/mod.rs @@ -374,7 +374,7 @@ async fn spawn_commands( let mut exit_done = None; loop { enum Res { - Read(bincode::Result<crate::pipeline::Event>), + Read(bincode::Result<crate::runner::Event>), Exit(std::io::Result<std::process::ExitStatus>), } @@ -389,11 +389,11 @@ async fn spawn_commands( }; match read.or(exit).await { Res::Read(Ok(event)) => match event { - crate::pipeline::Event::Suspend(idx) => { + crate::runner::Event::Suspend(idx) => { event_w.send(Event::ChildSuspend(idx)).await.unwrap(); new_read(); } - crate::pipeline::Event::Exit(new_env) => { + crate::runner::Event::Exit(new_env) => { *env = new_env; read_done = true; } |