diff --git a/crates/nu-engine/src/from_value.rs b/crates/nu-engine/src/from_value.rs index 396ebc4f7..9341eb897 100644 --- a/crates/nu-engine/src/from_value.rs +++ b/crates/nu-engine/src/from_value.rs @@ -374,6 +374,10 @@ impl FromValue for Vec { value: UntaggedValue::Table(t), .. } => Ok(t.clone()), + Value { + value: UntaggedValue::Row(_), + .. + } => Ok(vec![v.clone()]), Value { tag, .. } => Err(ShellError::labeled_error( "Can't convert to table", "can't convert to table", diff --git a/crates/nu-engine/src/shell/painter.rs b/crates/nu-engine/src/shell/painter.rs index a43f38687..89f98088d 100644 --- a/crates/nu-engine/src/shell/painter.rs +++ b/crates/nu-engine/src/shell/painter.rs @@ -46,7 +46,9 @@ impl Painter { fn paint(&mut self, styled_span: &Spanned