tree: ef8eebf4008c47865ea3c36e866556886bc3a3fb [path history] [tgz]
  1. event-match-modifiers.rs
  2. event-poll-read.rs
  3. event-read-char-line.rs
  4. event-read.rs
  5. event-stream-async-std.rs
  6. event-stream-tokio.rs
  7. is_tty.rs
  8. README.md
  9. stderr.rs
third_party/rust_crates/vendor/crossterm/examples/README.md

Lines of Code MIT Join us on Discord

Crossterm Examples

The examples are compatible with the latest release.

Structure

├── examples
│   └── interactive-test
│   └── event-*
│   └── stderr
File NameDescriptionTopics
examples/interactive-testinteractive, walk trough, democursor, style, event
event-*event reading demos(async) event reading
stderrcrossterm over stderr demoraw mode, alternate screen, custom output
is_ttyIs this instance a tty ?tty

Run examples

$ cargo run --example [file name]

To run the interactive-demo go into the folder examples/interactive-demo and run cargo run.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.