Skip to content
Snippets Groups Projects
  1. Mar 24, 2017
  2. Mar 12, 2017
    • IGI-111's avatar
      added cursor position detection · 0758c07a
      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).
      0758c07a
  3. Feb 27, 2017
    • ftilde's avatar
      Add support for alternate screen (#88) · 95233e9e
      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
      95233e9e
  4. Feb 26, 2017
    • IGI-111's avatar
      Added color support detection (#91) · ba72d0bc
      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
      ba72d0bc
  5. Dec 21, 2016
  6. Dec 19, 2016
  7. Nov 02, 2016
    • ticki's avatar
      Yes. · a3ad0190
      ticki authored
      No.
      a3ad0190
  8. Oct 26, 2016
    • ticki's avatar
      Update the mouse example. · 8ccc67cf
      ticki authored
      We use click and drag.
      8ccc67cf
    • Matthew Nicholson's avatar
      Modify Keys and Events to detect Esc key presses (#45) · ea06c6fd
      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
      ea06c6fd
  9. Oct 07, 2016
  10. Sep 07, 2016
  11. Jul 25, 2016
  12. Jul 23, 2016
  13. Jul 19, 2016
    • IGI-111's avatar
      made mouse optional and fixed small issues · 206c61de
      IGI-111 authored
      206c61de
    • IGI-111's avatar
      added mouse input · cc9c32b9
      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.
      cc9c32b9
  14. Jul 02, 2016
  15. Jun 14, 2016
  16. May 03, 2016
  17. Apr 08, 2016
  18. Apr 02, 2016
  19. Mar 16, 2016
  20. Mar 15, 2016
  21. Mar 13, 2016
  22. Mar 10, 2016
  23. Mar 09, 2016
  24. Mar 08, 2016
Loading