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] [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"

View File

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

View File

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

View File

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