Commit Graph

14 Commits

Author SHA1 Message Date
Jeremy Soller 6cb4e3fb75 Merge branch 'cursor-style' into 'master'
feature: changing cursor style

See merge request redox-os/termion!164
2020-01-20 18:04:14 +00:00
lilydjwg 67fe54119b Avoid allocating temporary Strings in Display implementations 2020-01-18 13:49:20 +08:00
akitsu-sanae cb16464375 feature: changing cursor style 2019-07-19 05:25:25 +09:00
Matthias Devlamynck 5301d8621a Merge remote-tracking branch 'origin/master' 2019-01-28 19:55:09 +01:00
Michael Aaron Murphy acd94a3625 Extra derives & performance optimizations 2018-08-20 22:11:58 +00:00
Josh Mcguigan 17fdd50823 Added async_stdin_until function to be used in cursor_pos 2018-05-07 17:13:55 -07:00
Jeremy Soller 18e589b9d9 Add cursor position save/restore 2017-08-02 20:07:37 -06:00
Matthias Devlamynck c26d2f0a97 Implement hide cursor wrapper type 2017-07-11 10:29:28 +02:00
ticki 15c65dc5f9
Run rustfmt on the code. 2017-03-24 21:53:05 +01:00
IGI-111 0758c07ab7 added cursor position detection
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).
2017-03-12 20:18:32 +00:00
ticki e63b645859 Update the documentation. 2016-09-07 11:39:32 +02:00
ticki 5634d5d082 Fix Goto 2016-07-24 20:22:47 +02:00
ticki 5b94db9663 Merge 2016-07-23 17:49:52 +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