summaryrefslogtreecommitdiffstats
path: root/src/shell/history/mod.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-01-09 22:46:15 -0500
committerJesse Luehrs <doy@tozt.net>2022-01-09 22:46:15 -0500
commitcba75be9c673b846ad0c4f6f5f2e8461056582ad (patch)
treec755fdea87b947cc62984da060220acfa46e8a0d /src/shell/history/mod.rs
parent973346c5e426d6a1b684d36ba779bf3e8f5b71b1 (diff)
downloadnbsh-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.rs6
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;
}