summaryrefslogtreecommitdiff
path: root/vendor/anstream/examples/query-stream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/anstream/examples/query-stream.rs')
-rw-r--r--vendor/anstream/examples/query-stream.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/vendor/anstream/examples/query-stream.rs b/vendor/anstream/examples/query-stream.rs
deleted file mode 100644
index 1c8670ec..00000000
--- a/vendor/anstream/examples/query-stream.rs
+++ /dev/null
@@ -1,22 +0,0 @@
-//! Report a terminal's capabilities
-
-fn main() {
- println!("stdout:");
- println!(
- " choice: {:?}",
- anstream::AutoStream::choice(&std::io::stdout())
- );
- println!(
- " choice: {:?}",
- anstream::AutoStream::auto(std::io::stdout()).current_choice()
- );
- println!("stderr:");
- println!(
- " choice: {:?}",
- anstream::AutoStream::choice(&std::io::stderr())
- );
- println!(
- " choice: {:?}",
- anstream::AutoStream::auto(std::io::stderr()).current_choice()
- );
-}