summaryrefslogtreecommitdiffstats
path: root/src/shell/mod.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-01-11 00:10:56 -0500
committerJesse Luehrs <doy@tozt.net>2022-01-11 00:37:09 -0500
commit4086fc1f83673554f9b9695e853c44dd895add23 (patch)
tree0ce4aa198f1cce027c726dc90e11c923cd0e4447 /src/shell/mod.rs
parent5bce22093b4b0778f729d8d92e37f42214f78fc5 (diff)
downloadnbsh-4086fc1f83673554f9b9695e853c44dd895add23.tar.gz
nbsh-4086fc1f83673554f9b9695e853c44dd895add23.zip
highlight the specific pipeline that is currently running
Diffstat (limited to 'src/shell/mod.rs')
-rw-r--r--src/shell/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shell/mod.rs b/src/shell/mod.rs
index 629f482..7371933 100644
--- a/src/shell/mod.rs
+++ b/src/shell/mod.rs
@@ -289,6 +289,9 @@ impl Shell {
}
}
}
+ Event::ChildRunPipeline(idx, span) => {
+ self.history.entry(idx).await.set_span(span);
+ }
Event::ChildSuspend(idx) => {
if self.focus_idx() == Some(idx) {
self.set_focus(Focus::Readline, None).await;