Crossterm Versions Save

Cross platform terminal library rust

0.18

3 years ago
  • 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

3 years ago
  • Fix cursor position retrieval bug linux.

0.17.6

3 years ago
  • 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

4 years ago
  • Improved support of keymodifier for linux, arrow keys, function keys, home keys etc.
  • Add SetTitle command to change the terminal title.

0.17.4

4 years ago
  • Add macros for Colorize and Styler impls, add an impl for String
  • Add shift modifier to uppercase char events on unix

0.17.3

4 years ago
  • Fix get terminal size mac os, this did not report the correct size.

0.17

4 years ago
  • 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

4 years ago
  • 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.1

4 years ago
  • Made windows cursor position relative to the window instead absolute to the screen buffer windows.
  • Fix windows bug with queue macro were it consumed a type and required an type to be Copy.

0.14.2

4 years ago
  • Fix TIOCGWINSZ for FreeBSD