Commit Graph

5 Commits

Author SHA1 Message Date
ticki 15c65dc5f9
Run rustfmt on the code. 2017-03-24 21:53:05 +01:00
ticki e63b645859 Update the documentation. 2016-09-07 11:39:32 +02:00
Jeremy Soller 6cdcbac536 Add escapes to undo styles 2016-07-24 08:19:34 -06: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 45aa8912f9 Rename Mode to Style
Mode is somewhat ambiguous term, which is often overused, for that reason I want to avoid it. This is a breaking change, but I don't guarantee stability yet, however I'll do my best to not break things.
2016-03-08 18:38:07 +01:00
Renamed from src/mode.rs (Browse further)