Commit Graph

4 Commits

Author SHA1 Message Date
Alex Yankov 6c6b240961 Reset style in color example before exit (#138) 2018-05-08 20:44:29 -07:00
ticki 30afb4c32e Fix examples & merge 2016-07-23 18:50:33 +02:00
ticki e36ff1c71b Termion 1.0.0: Complete overhaul of how escape codes are handled, add truecolor support.
This commit is a major semver bump. Every progra utilizing escape codes generated by Termion is likely broken. The main change is to make each escape has their own type implementing the Display trait.

- Use formatters, mainly Display for escapes.

- Add Truecolor support (`color::Rgb`).

- Put each primitive into distinct modules.

- Add is_tty for checking if some stream is a TTY.

- Add multiple new examples.
2016-07-23 16:40:27 +02:00
ticki 7284a25d8f Add more examples 2016-07-02 15:07:20 +02:00