Commit Graph

7 Commits

Author SHA1 Message Date
ticki 15c65dc5f9
Run rustfmt on the code. 2017-03-24 21:53:05 +01:00
ticki 0d1025c532 Take a reference to the stream instead of the stream itself (in `is_tty` 2016-09-24 19:13:16 +02:00
Jeremy Soller a3cc227620 Convert VarError to io::Error (#41) 2016-07-30 16:37:12 +02:00
Jeremy Soller f9928bd6fe Fix Redox `get_tty` by adding `env` import (#40) 2016-07-30 11:48:27 +02:00
ticki 7e3ed4ec93 Fix Redox get_tty 2016-07-29 21:56:33 +02:00
ticki 8572ee6eb8 Get the tty device, get_tty 2016-07-29 19:49:29 +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