minicrossterm/examples
Timon 1e332daaed
Refactor and API stabilization (#115)
- Major refactor and cleanup.
- Improved performance; 
    - No locking when writing to stdout. 
    - UNIX doesn't have any dynamic dispatch anymore. 
    - Windows has improved the way to check if ANSI modes are enabled.
    - Removed lot's of complex API calls: `from_screen`, `from_output`
    - Removed `Arc<TerminalOutput>` from all internal Api's. 
- Removed termios dependency for UNIX systems.
- Upgraded deps.
- Removed about 1000 lines of code
    - `TerminalOutput` 
    - `Screen`
    - unsafe code
    - Some duplicated code introduced by a previous refactor.
- Raw modes UNIX systems improved     
- Added `NoItalic` attribute
2019-04-10 23:46:30 +02:00
..
program_examples Refactor and API stabilization (#115) 2019-04-10 23:46:30 +02:00
alternate_screen.rs Refactor and API stabilization (#115) 2019-04-10 23:46:30 +02:00
crossterm.rs Refactor and API stabilization (#115) 2019-04-10 23:46:30 +02:00
cursor.rs Refactor and API stabilization (#115) 2019-04-10 23:46:30 +02:00
input.rs Refactor and API stabilization (#115) 2019-04-10 23:46:30 +02:00
key_events.rs Refactor and API stabilization (#115) 2019-04-10 23:46:30 +02:00
raw_mode.rs Refactor and API stabilization (#115) 2019-04-10 23:46:30 +02:00
README.md Adds support for mouse and keyboard events. 2019-04-02 21:38:34 +02:00
style.rs Refactor and API stabilization (#115) 2019-04-10 23:46:30 +02:00
terminal.rs Refactor and API stabilization (#115) 2019-04-10 23:46:30 +02:00

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)
  • key_events (this is about reading occurred key events)
  • crossterm (this is about the struct Crossterm)
  • alternate_screen (this is about switching to an alternate screen buffer)
  • raw_screen (this is about enabling raw screen)
  • program examples (this folder will contain some real life examples)