Commit Graph

16 Commits

Author SHA1 Message Date
Peter Roehlen e0263cbc81 Fix "red" color in example simple.rs 2020-07-18 02:47:46 +00:00
ticki 15c65dc5f9
Run rustfmt on the code. 2017-03-24 21:53:05 +01: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 b288548756 Fix #18 2016-04-02 18:05:31 +02:00
Ticki 28a95cf447 Libterm is now termion 2016-03-15 21:36:33 +01:00
Ticki b65328c304 Asynchronous key events 2016-03-15 20:32:25 +01:00
Ticki abe4681158 Fix examples 2016-03-08 21:40:48 +01:00
Ticki a16cc84ea3 Rename WriteExt to TermWrite 2016-03-08 21:39:24 +01: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
Ticki a19d2e245d Make debug_check private, remove warnings from examples 2016-03-08 08:27:59 +01:00
Ticki fd2d74d41a Now supports Redox! 2016-03-07 22:19:35 +01:00
Ticki 45b1136f75 get_passwd(), new example, update README 2016-03-07 18:42:11 +01:00
Ticki 098ce66b84 Rendition modes 2016-03-07 17:57:17 +01:00
Ticki 6f9addc42b Yay! 256-color mode 2016-03-07 17:39:25 +01:00
Ticki 2f0c72e1e4 Remove warnings from example 2016-03-07 16:23:05 +01:00
Ticki 8a172fdbda Add README 2016-03-06 14:55:01 +01:00