All Versions
64
Latest Version
Avg Release Cycle
13 days
Latest Release
-

Changelog History
Page 1

  • v0.25.0 Changes

    ๐Ÿ’ฅ BREAKING: Copy trait is removed from Event, you can keep it by removing the "bracked-paste" feature flag. However this flag might be standardized in the future. ๐Ÿšš We removed the Copy from Event because the new Paste event, which contains a pasted string into the terminal, which is a non-copy string.

    • โž• Add ability to paste a string in into the terminal and fetch the pasted string via events (see Event::Paste and EnableBracketedPaste).
    • โž• Add support for functional key codes from kitty keyboard protocol. Try out by PushKeyboardEnhancementFlags. This protocol allows for:
      • See: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#modifiers
      • Press, Repeat, Release event kinds.
      • SUPER, HYPER, META modifiers.
      • Media keycodes
      • Right/left SHIFT, Control, Alt, Super, Hyper, Meta
      • IsoLevel3Shift, IsoLevel5Shift
      • Capslock, scroll lock, numlock
      • Printscreen, pauze, menue, keyboard begin.
    • ๐Ÿ’… Create SetStyle command to allow setting various styling in one command.
    • ๐Ÿ‘€ Terminal Focus events (see Event::FocusGained and Event::FocusLost)
  • v0.24.0 Changes

    • โž• Add DoubleUnderlined, Undercurled, Underdots the text, Underdotted, Underdashes, Underdashed attributes and allow coloring their foreground / background color.
    • ๐Ÿ›  Fix windows unicode character parsing, this fixed various key combinations and support typing unicode characters.
    • ๐Ÿ“š Consistency and better documentation on mouse cursor operations (BREAKING CHANGE).
      • MoveTo, MoveToColumn, MoveToRow are 0-based. (left top most cell is 0,0). Moving like this is absolute
      • MoveToNextLine, MoveToPreviousLine, MoveUp, MoveDown, MoveRight, MoveLeft are 1-based,. Moving like this is relative. Moving 1 left means moving 1 left. Moving 0 to the left is not possible, wikipedia states that most terminals will just default to 1.
    • terminal::size returns error when previously it returned (0,0).
    • โœ‚ Remove println from serialisation code.
    • ๐Ÿ›  Fix mouse up for middle and right buttons.
    • ๐Ÿ›  Fix escape codes on Git-Bash + Windows Terminal / Alacritty / WezTerm.
    • โž• Add support for cursor keys in application mode.
  • v0.23.2 Changes

    • โšก๏ธ Update signal-hook and mio to version 0.8.
  • v0.23.1 Changes

    • ๐Ÿ›  Fix control key parsing problem.
  • v0.23 Changes

    • โšก๏ธ Update dependencies.
    • โž• Add 0 check for all cursor functions to prevent undefined behaviour.
    • โž• Add CSIu key parsing for unix.
    • ๐Ÿ‘Œ Improve control character window key parsing supporting (e.g. CTRL [ and ])
    • โšก๏ธ Update library to 2021 edition.
  • v0.22.1 Changes

    • โšก๏ธ Update yanked version crossterm-winapi and move to crossterm-winapi 0.9.0.
    • ๐Ÿ”„ Changed panic to error when calling disable-mouse capture without setting it first.
    • โšก๏ธ Update bitflags dependency.
  • v0.22 Changes

    • ๐Ÿ›  Fix serde Color serialisation/deserialization inconsistency.
    • โšก๏ธ Update crossterm-winapi 0.8.1 to fix panic for certain mouse events
  • v0.21 Changes

    • ๐Ÿ”ฆ Expose is_raw function.
    • โž• Add 'purge' option on unix system, this clears the entire screen buffer.
    • ๐Ÿ‘Œ Improve serialisation for color enum values.
  • v0.20 Changes

    • โšก๏ธ Update from signal-hook with 'mio-feature flag' to signal-hook-mio 0.2.1.
    • Manually implements Eq, PartialEq and Hash for KeyEvent improving equality checks and hash calculation.
    • crossterm::ErrorKind to io::Error.
    • โž• Added Cursor Shape Support.
    • โž• Add support for function keys F13...F20.
    • ๐Ÿ‘Œ Support taking any Display in SetTitle command.
    • โœ‚ Remove lazy_static dependency.
    • โœ‚ Remove extra Clone bounds in the style module.
      • Add MoveToRow command.
      • Remove writer parameter from execute_winapi
  • v0.19 Changes

    • ๐Ÿ‘‰ Use single thread for async event reader.
    • โฑ Patch timeout handling for event polling this was not working correctly.
    • โž• Add unix support for more key combinations mainly complex ones with ALT/SHIFT/CTRL.
    • ๐Ÿ’… Derive PartialEq and Eq for ContentStyle
    • ๐Ÿ›  Fix windows resize event size, this used to be the buffer size but is screen size now.
    • Change Command::ansi_code to Command::write_ansi, this way the ansi code will be written to given formatter.