Skip to content

Releases: crossterm-rs/crossterm

0.19

10 Jun 14:00
Compare
Choose a tag to compare
  • 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.

0.18

24 Sep 06:38
Compare
Choose a tag to compare
  • Fix get position bug
  • Fix windows 8 or lower write to user-given stdout instead of stdout.
  • Make MoveCursor(Left/Right/Up/Dow) command with input 0 not move.
  • Switch to futures-core to reduce dependencies.
  • Command API restricts to only accept std::io::Write
  • Make supports_ansi public
  • Implement ALT + numbers windows systems.

0.17.7

20 Jul 10:59
Compare
Choose a tag to compare
  • Fix cursor position retrieval bug linux.

0.17.6

06 Jul 18:09
5e1c214
Compare
Choose a tag to compare
  • Add functionality to retrieve color based on passed ansi code.
  • Switch from 'futures' to 'futures-util' crate to reduce dependency count
  • Mio 0.7 update
  • signal-hook update
  • Make windows raw_mode act on CONIN$
  • Added From<(u8, u8, u8)> Trait to Color::Rgb Enum
  • Implement Color::try_from()
  • Implement styler traits for &'a str

0.17.5

23 May 11:30
c1e84f7
Compare
Choose a tag to compare
  • Improved support of keymodifier for linux, arrow keys, function keys, home keys etc.
  • Add SetTitle command to change the terminal title.

0.17.4

18 May 16:53
43fbdfc
Compare
Choose a tag to compare
  • Add macros for Colorize and Styler impls, add an impl for String
  • Add shift modifier to uppercase char events on unix

0.17.3

18 May 16:53
Compare
Choose a tag to compare
  • Fix get terminal size mac os, this did not report the correct size.

0.17

24 Mar 21:01
9c9543d
Compare
Choose a tag to compare
  • Impl Display for MoveToColumn, MoveToNextLine, MoveToPreviousLine
  • Make unix event reader always use /dev/tty.
  • Direct write command ansi_codes into formatter instead of double allocation.
  • Add NONE flag to KeyModifiers
  • Add support for converting chars to StylizedContent
  • Make terminal size function fallback to STDOUT_FILENO if /dev/tty is missing.

0.15

29 Jan 06:29
75c59f3
Compare
Choose a tag to compare
  • Fix CTRL + J key combination. This used to return an ENTER event.
  • Add a generic implementation Command for &T: Command. This allows commands to be queued by reference, as well as by value.
  • Remove unnecessary Clone trait bounds from StyledContent.
  • Add StyledContent::style_mut.
  • Handle error correctly for execute! and queue!.
  • Fix minor syntax bug in execute! and queue!.
  • Change ContentStyle::apply to take self by value instead of reference, to prevent an unnecessary extra clone.
  • Added basic trait implementations (Debug, Clone, Copy, etc) to all of the command structs
  • ResetColor uses &'static str instead of String

0.14.2

11 Jan 17:10
Compare
Choose a tag to compare
  • Fix TIOCGWINSZ for FreeBSD