summaryrefslogtreecommitdiffstats
path: root/src/format.rs
diff options
context:
space:
mode:
authorpierresy <pierre-henri.symoneaux@alcatel-lucent.com>2016-02-14 15:47:29 +0100
committerpierresy <pierre-henri.symoneaux@alcatel-lucent.com>2016-02-14 15:47:29 +0100
commit9806281ebec96854dbd74d45c3c3716c612e0ef3 (patch)
treee9a6bb6ec1ed49682cae70f54852f3835ed694ef /src/format.rs
parenteaff73df9751b9c9163bca003f2be5a14ba40761 (diff)
Detect if attached to a tty standard output when calling Table.printstd().
Printing using term (for colors, etc...) is performed only if output is a tty, else, fallbacks to normal printing
Diffstat (limited to 'src/format.rs')
-rw-r--r--src/format.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format.rs b/src/format.rs
index c4b874e..c9546b7 100644
--- a/src/format.rs
+++ b/src/format.rs
@@ -197,7 +197,7 @@ impl Default for TableFormat {
}
}
-/// A builder to create a `Table Format`
+/// A builder to create a `TableFormat`
pub struct FormatBuilder {
format: Box<TableFormat>
}