diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-05-30 11:07:58 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-06-25 06:32:28 -0700 |
commit | 3a4d88475b40a17f2ce17b775a3f07c78be83d79 (patch) | |
tree | 2780e2c7ea86c0a7e039cfc3e478bd82131a467e /cli/ansi.rs | |
parent | 89216c7baaab8ade3daf9103572647addeb404f3 (diff) |
Port code from Cargo and use for progress
A lot of its functionality is unused still, but the goal it to slowly
migrate logging functionality to it. There is also a useful progress bar
which can be ported over later - it depends on this module.
https://github.com/rust-lang/cargo/blob/4c1fa54d10f58d69ac9ff55be68e1b1c25ecb816/src/cargo/util/progress.rs
Diffstat (limited to 'cli/ansi.rs')
-rw-r--r-- | cli/ansi.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/ansi.rs b/cli/ansi.rs index 32936ace0..ab2347bcd 100644 --- a/cli/ansi.rs +++ b/cli/ansi.rs @@ -1,4 +1,6 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// TODO(ry) Rename this file to colors.rs +// TODO(ry) Replace ansi_term with termcolor. use ansi_term::Color::Black; use ansi_term::Color::Fixed; use ansi_term::Color::Red; |