minicrossterm/examples/README.md
2018-08-03 12:01:04 +02:00

635 B

This folder contains examples for version 0.3.0 Here you will find examples of all the functionalities crossterm offers.

It has 4 modules:

  • color (this is about all the styling of the terminal)
  • cursor (this is about all the actions you can perform with the cursor)
  • terminal (this is about all the actions you can perform on the terminal)
  • input (this is about all input actions you can perform on with terminal)
  • crossterm_type (this is about the struct Crossterm)
  • program examples (this folder will contain some real life examples)

To run any example where there is a main() you could run cargo run --example simple.