mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
print string returned by draw_table, in autoview when pivot mode is on (#3135)
This commit is contained in:
parent
d43489a6a0
commit
74e10d6f72
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue