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