diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2015-05-08 07:39:42 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2015-05-08 07:39:42 +0200 |
commit | 9b022cd4aa4f4cb8c8dce1c164086da857edbabf (patch) | |
tree | 8531e041efd2be2d5cc993db58ca3a7ee988be4f | |
parent | a2a7e831b6f8bca1e0e250e373e011e9b85f11f9 (diff) | |
download | vtcol-9b022cd4aa4f4cb8c8dce1c164086da857edbabf.tar.gz |
vtcol.rs: output instructions when reading from stdin
-rw-r--r-- | src/vtcol.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vtcol.rs b/src/vtcol.rs index 0c042e3..de66928 100644 --- a/src/vtcol.rs +++ b/src/vtcol.rs @@ -477,6 +477,8 @@ impl Palette { from_stdin () -> Palette { + println!("Go ahead, type your color scheme …"); + println!("vtcol>"); let mut reader = std::io::BufReader::new(std::io::stdin()); /* Parse scheme file @@ -619,7 +621,7 @@ fn main () { let job = Job::new(); - println!("job parms: {:?}", job); + //println!("job parms: {:?}", job); let mut pal : Palette = { match job.scheme { Scheme::Default => Palette::new(&DEFAULT_COLORS), |