Commit Graph

13 Commits

Author SHA1 Message Date
Esption a0751f21b0 Add Debug to color structs and Clone to Rgb / Fg / Bg (#51) 2016-10-03 07:15:12 +02:00
ticki e63b645859 Update the documentation. 2016-09-07 11:39:32 +02:00
Jeremy Soller b81bcc6749 Fix formatting 2016-07-24 08:24:49 -06:00
Jeremy Soller ef023ed596 Allow colors to be reset to terminal defaults 2016-07-24 08:23:10 -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 d52e2a2426 Fix documentation for colors 2016-07-02 15:59:51 +02:00
ticki b499d4825f Refactor how colors are handled 2016-07-02 15:06:47 +02:00
Ticki 7d1d424c8a Small doc fixes 2016-03-16 08:52:09 +01:00
Ticki 5d4826d4ff Add test to _everything_ 2016-03-09 17:18:31 +01:00
Ticki 543b2f8975 Hi -> Light 2016-03-09 11:19:51 +01:00
Ticki 6f1621d2d0 Introduce 'Key', which can decode special key input 2016-03-09 09:39:22 +01:00
Ticki a19d2e245d Make debug_check private, remove warnings from examples 2016-03-08 08:27:59 +01:00
Ticki 6f9addc42b Yay! 256-color mode 2016-03-07 17:39:25 +01:00