summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-05-08 07:39:42 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2015-05-08 07:39:42 +0200
commit9b022cd4aa4f4cb8c8dce1c164086da857edbabf (patch)
tree8531e041efd2be2d5cc993db58ca3a7ee988be4f
parenta2a7e831b6f8bca1e0e250e373e011e9b85f11f9 (diff)
downloadvtcol-9b022cd4aa4f4cb8c8dce1c164086da857edbabf.tar.gz
vtcol.rs: output instructions when reading from stdin
-rw-r--r--src/vtcol.rs4
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),