aboutsummaryrefslogtreecommitdiffstats
path: root/crates/termsize/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--crates/termsize/src/lib.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/crates/termsize/src/lib.rs b/crates/termsize/src/lib.rs
index 69e7b78..ab7225a 100644
--- a/crates/termsize/src/lib.rs
+++ b/crates/termsize/src/lib.rs
@@ -13,11 +13,12 @@
//! interface for retrieving the current
//! [terminal interface](http://www.manpagez.com/man/4/tty/) size
//!
-//! ```rust
-//! extern crate termsize;
-//!
-//! termsize::get().map(|size| println!("rows {} cols {}", size.rows, size.cols));
-//! ```
+
+// //! ```no_run (it cannot really get the terminal size in a test)
+// //! extern crate termsize;
+// //!
+// //! termsize::get().map(|size| println!("rows {} cols {}", size.rows, size.cols));
+// //! ```
/// Container for number of rows and columns
#[derive(Debug, Clone, Copy)]