Skip to content

Commit 11b1a53

Browse files
committed
Update deps and changelog
1 parent eff7da0 commit 11b1a53

2 files changed

Lines changed: 37 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [0.3.2] - 2020-11-13
88

9-
- Improve help pages
10-
- Fix bugs with pipes
11-
- Revamp the `colo term` command
12-
- Add the `--color` flag
9+
Announcing the [new website](https://aloso.github.io/colo/), which explains how to use colo with nice terminal graphics! The graphics are [rendered as HTML](https://github.com/Aloso/to-html), so you can copy+paste the commands.
10+
11+
### Additions
12+
13+
- [`#39`](https://github.com/Aloso/colo/pull/39): Colors can now be randomly generated. Random colors can be used everywhere:
14+
15+
```sh
16+
> colo s rand
17+
> colo contrast rand rand
18+
> colo print "Hello world" rand
19+
```
20+
21+
The `rand` keyword creates a random color in the sRGB space. You can also use a different color space and specify some of the values:
22+
23+
```sh
24+
> colo s "hsl(rand, 100%, 50%)"
25+
> colo s "cmy(100%, rand, rand)"
26+
```
27+
- [`#41`](https://github.com/Aloso/colo/pull/41): The `--color` flag can override the behavior when the output uses color:
28+
* `never`: Don't use color
29+
* `always`: Always print with color
30+
* `auto`: Use color if the standard output is a tty, i.e. if `colo` was invoked in the terminal and isn't behind a pipe.
31+
32+
### Changes
33+
34+
- [`#41`](https://github.com/Aloso/colo/pull/41): The output of `colo term` was updated.
35+
- [`#40`](https://github.com/Aloso/colo/pull/40): Help pages were improved significantly. Show help with `colo help` or with `colo help <subcommand>`.
36+
37+
## Bug fixes
38+
39+
- Fixed pipes: A few bugs were fixed where `colo` printed with color or listened to stdin when it shouldn't.
1340
1441
## [0.3.1] - 2020-11-09
1542

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)