Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
README.md | H A D | 28-Mar-2020 | 1.1 KiB | 41 | 28 | |
event-match-modifiers.rs | H A D | 24-Mar-2020 | 1.7 KiB | 64 | 53 | |
event-poll-read.rs | H A D | 24-Mar-2020 | 1.5 KiB | 66 | 45 | |
event-read-char-line.rs | H A D | 24-Mar-2020 | 1,010 | 46 | 36 | |
event-read.rs | H A D | 24-Mar-2020 | 1.1 KiB | 56 | 37 | |
event-stream-async-std.rs | H A D | 13-Jul-2020 | 1.9 KiB | 72 | 53 | |
event-stream-tokio.rs | H A D | 13-Jul-2020 | 1.9 KiB | 73 | 54 | |
is_tty.rs | H A D | 13-Jul-2020 | 171 | 11 | 9 | |
stderr.rs | H A D | 24-Mar-2020 | 2.1 KiB | 97 | 67 |
README.md
1![Lines of Code][s7] [![MIT][s2]][l2] [![Join us on Discord][s5]][l5] 2 3# Crossterm Examples 4 5The examples are compatible with the latest release. 6 7## Structure 8 9``` 10├── examples 11│ └── interactive-test 12│ └── event-* 13│ └── stderr 14``` 15| File Name | Description | Topics 16| :------- | :------- | :------- | 17| `examples/interactive-test` | interactive, walk trough, demo | cursor, style, event 18| `event-*`| event reading demos | (async) event reading 19| `stderr` | crossterm over stderr demo | raw mode, alternate screen, custom output 20| `is_tty` | Is this instance a tty ? | tty | 21 22## Run examples 23 24```bash 25$ cargo run --example [file name] 26``` 27 28To run the interactive-demo go into the folder `examples/interactive-demo` and run `cargo run`. 29 30## License 31 32This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details. 33 34[s2]: https://img.shields.io/badge/license-MIT-blue.svg 35[l2]: LICENSE 36 37[s5]: https://img.shields.io/discord/560857607196377088.svg?logo=discord 38[l5]: https://discord.gg/K4nyTDB 39 40[s7]: https://travis-ci.org/crossterm-rs/examples.svg?branch=master 41