From cba75be9c673b846ad0c4f6f5f2e8461056582ad Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 9 Jan 2022 22:46:15 -0500 Subject: rename since this doesn't just run pipelines anymore --- src/shell/history/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/shell/history/mod.rs') 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), + Read(bincode::Result), Exit(std::io::Result), } @@ -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; } -- cgit v1.2.3-54-g00ecf