Commit Graph

22 Commits

Author SHA1 Message Date
ticki 5b94db9663 Merge 2016-07-23 17:49:52 +02:00
ticki b17d0151d9 Update readme, fix rainbow example 2016-07-23 17:32:08 +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
IGI-111 cc9c32b981 added mouse input
The event system has been reworked to allow the detection of mouse
events as well as key presses.
Xterm, rxvt and X10 emulated escape codes are supported, they are
enabled and disabled by sending the right escape codes when creating a
RawTerminal.

To allow for byte manipulation, which was necessary to implement those
features, the backend iterator has been changed from chars() to bytes()
(with specific treatment of unicode sequences), making the whole crate
not require nightly rustc.
2016-07-19 18:17:12 +02:00
ticki 3996d24f12 Fix cargo example 2016-07-03 13:46:18 +02:00
ticki 1f66411331 Fix doc link 2016-07-03 13:43:22 +02:00
ticki fa4a6cfa5a Make 'nightly' a default feature 2016-07-03 13:33:25 +02:00
ticki a7821206e9 Update README 2016-07-02 15:42:18 +02:00
ticki b499d4825f Refactor how colors are handled 2016-07-02 15:06:47 +02:00
ticki 8bcb946b07 Update readme 2016-06-14 14:29:31 +02:00
Antonin Carette c846c9dbe1 Update README.md
Fix example reference
2016-04-02 16:48:12 -04:00
Ticki 80bbdb62df Add docs link 2016-03-16 08:36:50 +01:00
Ticki 6d0129dd75 Resize 2016-03-16 08:17:55 +01:00
Ticki ecf813569e Example image 2016-03-16 08:11:35 +01:00
Ticki 28a95cf447 Libterm is now termion 2016-03-15 21:36:33 +01:00
Ticki 2f2ac0a7f8 Update 'usage' section 2016-03-15 20:39:08 +01:00
Ticki b65328c304 Asynchronous key events 2016-03-15 20:32:25 +01:00
Ticki 08746c0d2a Add tests to 'terminal_size' 2016-03-09 19:17:00 +01:00
Ticki a6d364e638 Add a note on stability 2016-03-08 19:44:31 +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 8a172fdbda Add README 2016-03-06 14:55:01 +01:00