minicrossterm/examples
2019-09-18 19:31:12 +02:00
..
program_examples 2018 edition (#222) 2019-09-16 13:34:08 +02:00
alternate_screen.rs io::Result to crossterm::Result (#232) 2019-09-18 19:31:12 +02:00
command_bar.rs io::Result to crossterm::Result (#232) 2019-09-18 19:31:12 +02:00
command.rs io::Result to crossterm::Result (#232) 2019-09-18 19:31:12 +02:00
crossterm.rs Examples cleanup (#225) 2019-09-17 10:50:39 +02:00
cursor.rs io::Result to crossterm::Result (#232) 2019-09-18 19:31:12 +02:00
input.rs io::Result to crossterm::Result (#232) 2019-09-18 19:31:12 +02:00
key_events.rs io::Result to crossterm::Result (#232) 2019-09-18 19:31:12 +02:00
raw_mode.rs io::Result to crossterm::Result (#232) 2019-09-18 19:31:12 +02:00
README.md Examples cleanup (#225) 2019-09-17 10:50:39 +02:00
style.rs io::Result to crossterm::Result (#232) 2019-09-18 19:31:12 +02:00
terminal.rs io::Result to crossterm::Result (#232) 2019-09-18 19:31:12 +02:00

This folder contains examples for crossterm and it's the sub-crates.

When using a sub-crate instead of the crossterm crate, make sure to change the namespaces in the examples from crossterm to crossterm_{crate_name}.

Examples, on the different functionalities

Other

  • crossterm: this is about the struct Crossterm
  • command: this is about to the command api
  • program examples: this folder will contain some real life examples
  • command_bar: this is a terminal application where multiple threads write to the output while you can enter commands asynchronously.