Skip to content

Files

Latest commit

be8cb8c · Jun 16, 2024

History

History
This branch is 1 commit ahead of, 20 commits behind crossterm-rs/crossterm:master.

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 23, 2023
Jun 6, 2022
Aug 10, 2022
Apr 7, 2023
Apr 7, 2023
Jun 16, 2024
Apr 7, 2023
Apr 7, 2023
Aug 5, 2023
May 3, 2024
Apr 7, 2023

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.