mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Hide Windows ps status, bump reedline (#749)
This commit is contained in:
@ -70,11 +70,15 @@ fn run_ps(engine_state: &EngineState, call: &Call) -> Result<PipelineData, Shell
|
||||
span,
|
||||
});
|
||||
|
||||
cols.push("status".to_string());
|
||||
vals.push(Value::String {
|
||||
val: proc.status(),
|
||||
span,
|
||||
});
|
||||
#[cfg(not(windows))]
|
||||
{
|
||||
// Hide status on Windows until we can find a good way to support it
|
||||
cols.push("status".to_string());
|
||||
vals.push(Value::String {
|
||||
val: proc.status(),
|
||||
span,
|
||||
});
|
||||
}
|
||||
|
||||
cols.push("cpu".to_string());
|
||||
vals.push(Value::Float {
|
||||
|
Reference in New Issue
Block a user