summaryrefslogtreecommitdiffstats
path: root/src/args.rs
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2017-01-13 19:02:55 -0500
committerAndrew Gallant <jamslam@gmail.com>2017-01-13 19:03:03 -0500
commita7d0e4066870178f8529382fe273ce1ce580741d (patch)
treed2dd826f522b273843cfacf906e5f783d33f131a /src/args.rs
parent7a951f103a2abeba5af53905e168a09179704b48 (diff)
Use basic SGR sequences when possible.
In Emacs, its terminal apparently doesn't support "extended" sets of foreground/background colors. Unless we need to set an "intense" color, we should instead use one of the eight basic color codes. Also, remove the "intense" setting from the default set of colors. It doesn't do much anyway and enables the default color settings to work in Emacs out of the box. Fixes #182 (again)
Diffstat (limited to 'src/args.rs')
-rw-r--r--src/args.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs
index 6030964e..eeccb184 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -707,7 +707,6 @@ impl<'a> ArgMatches<'a> {
"path:fg:magenta".parse().unwrap(),
"line:fg:green".parse().unwrap(),
"match:fg:red".parse().unwrap(),
- "match:style:intense".parse().unwrap(),
"match:style:bold".parse().unwrap(),
];
for spec_str in self.values_of_lossy_vec("colors") {