keyfork/keyfork-crossterm/examples
Ryan Heywood 023f6c5dfa
keyfork-crossterm: change name
2024-01-10 21:27:52 -05:00
..
interactive-demo keyfork-crossterm: change name 2024-01-10 21:27:52 -05:00
README.md keyfork-crossterm: initial commit, import project 2024-01-10 21:04:43 -05:00
event-match-modifiers.rs keyfork-crossterm: change name 2024-01-10 21:27:52 -05:00
event-poll-read.rs keyfork-crossterm: change name 2024-01-10 21:27:52 -05:00
event-read-char-line.rs keyfork-crossterm: change name 2024-01-10 21:27:52 -05:00
event-read.rs keyfork-crossterm: change name 2024-01-10 21:27:52 -05:00
event-stream-async-std.rs keyfork-crossterm: change name 2024-01-10 21:27:52 -05:00
event-stream-tokio.rs keyfork-crossterm: change name 2024-01-10 21:27:52 -05:00
is_tty.rs keyfork-crossterm: change name 2024-01-10 21:27:52 -05:00
stderr.rs keyfork-crossterm: change name 2024-01-10 21:27:52 -05:00

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 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

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.