5.4 release commit

This commit is contained in:
Timon Post 2019-01-08 07:23:16 -08:00
parent 6a4f1df249
commit 2cd56af252
4 changed files with 5 additions and 5 deletions

View File

@ -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"

View File

@ -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.

View File

@ -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);

View File

@ -46,7 +46,7 @@
///
/// ```
/// [dependencies]
/// crossterm = "0.5.3"
/// crossterm = "0.5.4"
///
/// ```
/// And import the Crossterm modules you want to use.