diff --git a/CHANGELOG.md b/CHANGELOG.md index e7fa867a..a9cbb805 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# Version 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` 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. + # Version 0.18.2 - Fix panic when only setting bold and redirecting stdout. - Use `tty_fd` for set/get terminal attributes diff --git a/Cargo.toml b/Cargo.toml index 06d7b72b..9c6a3eaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,8 @@ event-stream = ["futures-core"] bitflags = "1.2" lazy_static = "1.4" parking_lot = "0.11" + +# optional deps only added when requested futures-core = { version = "0.3", optional = true, default-features = false } serde = { version = "1.0", features = ["derive"], optional = true } @@ -43,7 +45,7 @@ serde = { version = "1.0", features = ["derive"], optional = true } # Windows dependencies # [target.'cfg(windows)'.dependencies.winapi] -version = "0.3.8" +version = "0.3.9" features = ["winuser"] [target.'cfg(windows)'.dependencies] @@ -61,7 +63,7 @@ signal-hook = { version = "0.1.15", features = ["mio-0_7-support"] } # Dev dependencies (examples, ...) # [dev-dependencies] -tokio = { version = "0.2.11", features = ["full"] } +tokio = { version = "1.0", features = ["full"] } futures = "0.3" futures-timer = "3.0" async-std = "1.4"