diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-01-11 00:10:56 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-01-11 00:37:09 -0500 |
commit | 4086fc1f83673554f9b9695e853c44dd895add23 (patch) | |
tree | 0ce4aa198f1cce027c726dc90e11c923cd0e4447 /src/shell/mod.rs | |
parent | 5bce22093b4b0778f729d8d92e37f42214f78fc5 (diff) | |
download | nbsh-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.rs | 3 |
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; |