forked from extern/nushell
Hide Windows ps status, bump reedline (#749)
This commit is contained in:
parent
89d99db94f
commit
8f4ee14d85
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2845,7 +2845,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "reedline"
|
name = "reedline"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
source = "git+https://github.com/nushell/reedline?branch=main#4c3c23c9594ab2d58015fc75beb9fd884b763614"
|
source = "git+https://github.com/nushell/reedline?branch=main#c0fbcf0ed15a02861e20001c8a38023be4b2c1e6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"crossterm",
|
"crossterm",
|
||||||
|
@ -70,11 +70,15 @@ fn run_ps(engine_state: &EngineState, call: &Call) -> Result<PipelineData, Shell
|
|||||||
span,
|
span,
|
||||||
});
|
});
|
||||||
|
|
||||||
cols.push("status".to_string());
|
#[cfg(not(windows))]
|
||||||
vals.push(Value::String {
|
{
|
||||||
val: proc.status(),
|
// Hide status on Windows until we can find a good way to support it
|
||||||
span,
|
cols.push("status".to_string());
|
||||||
});
|
vals.push(Value::String {
|
||||||
|
val: proc.status(),
|
||||||
|
span,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
cols.push("cpu".to_string());
|
cols.push("cpu".to_string());
|
||||||
vals.push(Value::Float {
|
vals.push(Value::Float {
|
||||||
|
Loading…
Reference in New Issue
Block a user