mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +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 =
|
||||
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: UntaggedValue::Primitive(Primitive::Nothing),
|
||||
|
Loading…
Reference in New Issue
Block a user