Releases: crossterm-rs/crossterm
Releases · crossterm-rs/crossterm
0.19
- 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
andEq
for ContentStyle - Fix windows resize event size, this used to be the buffer size but is screen size now.
- Change
Command::ansi_code
toCommand::write_ansi
, this way the ansi code will be written to given formatter.
0.18
- 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
0.17.6
- 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
0.17.4
0.17.3
0.17
- 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
- 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 fromStyledContent
. - Add
StyledContent::style_mut
. - Handle error correctly for
execute!
andqueue!
. - Fix minor syntax bug in
execute!
andqueue!
. - 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 ofString