5.4 release commit
This commit is contained in:
parent
6a4f1df249
commit
2cd56af252
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "crossterm"
|
name = "crossterm"
|
||||||
version = "0.5.3"
|
version = "0.5.4"
|
||||||
authors = ["T. Post"]
|
authors = ["T. Post"]
|
||||||
description = "An crossplatform terminal library for manipulating terminals."
|
description = "An crossplatform terminal library for manipulating terminals."
|
||||||
repository = "https://github.com/TimonPost/crossterm"
|
repository = "https://github.com/TimonPost/crossterm"
|
||||||
|
@ -46,7 +46,7 @@ Add the Crossterm package to your `Cargo.toml` file.
|
|||||||
|
|
||||||
```
|
```
|
||||||
[dependencies]
|
[dependencies]
|
||||||
crossterm = "0.5.3"
|
crossterm = "0.5.4"
|
||||||
|
|
||||||
```
|
```
|
||||||
And import the Crossterm modules you want to use.
|
And import the Crossterm modules you want to use.
|
||||||
|
@ -15,8 +15,8 @@ pub fn try_enable_ansi_support() -> bool {
|
|||||||
ENABLE_ANSI.call_once(|| {
|
ENABLE_ANSI.call_once(|| {
|
||||||
let command = EnableAnsiCommand::new();
|
let command = EnableAnsiCommand::new();
|
||||||
let success = match command.enable() {
|
let success = match command.enable() {
|
||||||
Ok(success) => { success },
|
Ok(success) => success,
|
||||||
Err(_) => { false },
|
Err(_) => false,
|
||||||
};
|
};
|
||||||
|
|
||||||
set_is_windows_ansi_supportable(success);
|
set_is_windows_ansi_supportable(success);
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// [dependencies]
|
/// [dependencies]
|
||||||
/// crossterm = "0.5.3"
|
/// crossterm = "0.5.4"
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// And import the Crossterm modules you want to use.
|
/// And import the Crossterm modules you want to use.
|
||||||
|
Loading…
Reference in New Issue
Block a user