- Mar 24, 2017
-
-
ticki authored
-
- Mar 12, 2017
-
-
IGI-111 authored
This solves #85 in a similar fashion as the color amount detection: the cursor module now provides a trait that adds a `cursor_pos()` method to an instance of `Write`. It also corrects that previous implementation somewhat by making the `CONTROL_SEQUENCE_TIMEOUT` a member of the raw module and implementing `DetectColors` for any instance of `Write` rather than just `RawTerminal` (`MouseTerminal` for instance works as well).
-
- Feb 27, 2017
-
-
ftilde authored
* Add (optional) support for alternate screen (#77) The user can manually switch between main and alternate screen or (preferably) use the wrapper struct for automatic screen restoration. * Add two examples for screen switching * Improve screen module documentation
-
- Feb 26, 2017
-
-
IGI-111 authored
* Added color support detection Color support is inferred by using either OSC 4 escape codes or the value of TERM. * minor refactor and cosmetic changes
-
- Dec 21, 2016
-
-
Alexandre Bury authored
`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.
-
- Dec 19, 2016
-
-
Alexandre Bury authored
* Add travis integration * Update examples/rainbow to work on stable
-
- Nov 02, 2016
-
-
ticki authored
No.
-
- Oct 26, 2016
-
-
ticki authored
We use click and drag.
-
Matthew Nicholson authored
* modify Keys and Events to detect Esc key presses The strategy used here is to read two bytes at a time, going on the assumption that escape sequences will consist of multi byte reads and solitary Esc key presses will consist of single byte reads. Tests had to be modified to account for these new multi byte reads by including dummy bytes when a single byte was previously expected. Fixes ticki/termion#43 * expand keys example to include Esc key presses * add test for Esc key press
-
- Oct 07, 2016
-
- Sep 07, 2016
- Jul 25, 2016
-
-
James Campos authored
fix message not appearing
-
- Jul 23, 2016
-
-
ticki authored
-
ticki authored
-
ticki authored
-
ticki authored
-
ticki authored
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.
-
- Jul 19, 2016
-
-
IGI-111 authored
-
IGI-111 authored
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.
-
- Jul 02, 2016
- Jun 14, 2016
-
-
ticki authored
-
- May 03, 2016
-
-
ticki authored
-
- Apr 08, 2016
-
-
Ticki authored
-
- Apr 02, 2016
-
-
Ticki authored
-
- Mar 16, 2016
-
-
Greg Chapple authored
-
- Mar 15, 2016
- Mar 13, 2016
- Mar 10, 2016
-
-
Ticki authored
-
- Mar 09, 2016
- Mar 08, 2016