mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
print string returned by draw_table, in autoview when pivot mode is on (#3135)
This commit is contained in:
parent
d43489a6a0
commit
74e10d6f72
@ -253,7 +253,7 @@ pub async fn autoview(context: RunnableContext) -> Result<OutputStream, ShellErr
|
|||||||
let table =
|
let table =
|
||||||
nu_table::Table::new(vec![], entries, nu_table::Theme::compact());
|
nu_table::Table::new(vec![], entries, nu_table::Theme::compact());
|
||||||
|
|
||||||
nu_table::draw_table(&table, term_width, &color_hm);
|
println!("{}", nu_table::draw_table(&table, term_width, &color_hm));
|
||||||
}
|
}
|
||||||
Value {
|
Value {
|
||||||
value: UntaggedValue::Primitive(Primitive::Nothing),
|
value: UntaggedValue::Primitive(Primitive::Nothing),
|
||||||
|
Loading…
Reference in New Issue
Block a user