Skip to content

Commit 5ade122

Browse files
committed
Update changelog, tweak cfg macro
1 parent fc27647 commit 5ade122

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.0.1](https://crates.io/crates/rtw/2.0.1) Nov 3, 2020
9+
10+
* Fix CLI output for Windows 10 cf [#43](https://github.com/PicoJr/rtw/pull/43) thanks [ythri](https://github.com/ythri)
11+
812
## [2.0.0](https://crates.io/crates/rtw/2.0.0) Jul 30, 2020
913

1014
* Stabilize multiple ongoing activities

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rtw"
3-
version = "2.0.0"
3+
version = "2.0.1"
44
authors = ["PicoJr <picojr_dev@gmx.com>"]
55
edition = "2018"
66
repository = "https://github.com/PicoJr/rtw"

src/main.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ fn main() -> anyhow::Result<()> {
5252
finished_activity_path,
5353
));
5454

55-
if cfg!(windows) {
55+
#[cfg(windows)]
56+
{
5657
ansi_term::enable_ansi_support().unwrap_or(());
5758
}
5859
let action = run(&matches, &clock)?;

0 commit comments

Comments
 (0)