minicrossterm/examples
2022-06-30 21:42:57 +02:00
..
interactive-demo Make clear which mouse commands are 0-based and which are 1-based. (#684) 2022-06-30 21:42:57 +02:00
event-match-modifiers.rs Moved examples back into crossterm (#332) 2019-12-10 21:07:15 +01:00
event-poll-read.rs Fix typos (#675) 2022-06-06 18:10:06 +02:00
event-read-char-line.rs Replace AnsiType with write_ansi (#523) 2020-12-28 07:56:32 +01:00
event-read.rs Fix clippy warnings (#533) 2021-01-02 15:24:34 +01:00
event-stream-async-std.rs Remove Unneeded Imports (#552) 2021-03-28 13:49:38 +02:00
event-stream-tokio.rs Remove Unneeded Imports (#552) 2021-03-28 13:49:38 +02:00
is_tty.rs Clarify that SetSize resizes the terminal buffer. 2022-06-30 20:30:36 +02:00
README.md Fix typos (#675) 2022-06-06 18:10:06 +02:00
stderr.rs Addes documentation to examples (#348) 2019-12-16 10:13:35 -06:00

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.