summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorCyril Plisko <cyril.plisko@mountall.com>2017-12-11 21:42:33 +0200
committerCyril Plisko <cyril.plisko@mountall.com>2017-12-11 21:43:23 +0200
commite6b3f1caaf6f95619b52d498e86c3da03a3ca10e (patch)
treee5f490207d6bd9cd9c18b31764c2f15c5f5a4bc1 /src/lib.rs
parent177ddf19770c7453f8e4de16d1b39e610faf248a (diff)
Drop 'Pager::force_on_notty()'
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2887603..2bf9966 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -134,15 +134,6 @@ impl Pager {
}
}
- /// Instructs `Pager` to force invoking pager even if output is not a `tty`
- #[doc(hidden)]
- pub fn force_on_notty(self) -> Self {
- Self {
- skip_on_notty: false,
- ..self
- }
- }
-
/// Gives quick assessment of successful `Pager` setup
pub fn is_on(&self) -> bool {
self.on