The examples are compatible with the latest release.
├── examples
│ └── interactive-test
│ └── event-*
│ └── stderr
File Name | Description | Topics |
---|---|---|
examples/interactive-test |
interactive, walk through, demo | cursor, style, event |
event-* |
event reading demos | (async) event reading |
stderr |
crossterm over stderr demo | raw mode, alternate screen, custom output |
is_tty |
Is this instance a tty ? | tty |
$ cargo run --example [file name]
To run the interactive-demo go into the folder examples/interactive-demo
and run cargo run
.
This project is licensed under the MIT License - see the LICENSE.md file for details.