Commit Graph

7 Commits

Author SHA1 Message Date
Alexandre Bury c9c91292e5 Replace most `std::io::Write::write` with `write_all` (#82)
`std::io::Write` doesn't guarantees that it will write everything,
and could even return a non-fatal `ErrorKind::Interrupted` error.
`write_all` has exactly the code required to deal with this.
2016-12-21 14:20:48 +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 28a95cf447 Libterm is now termion 2016-03-15 21:36:33 +01:00
Ticki d7a3e607ba Fix read example 2016-03-09 08:41:18 +01:00
Ticki 10f6654005 Better password input 2016-03-08 08:51:34 +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