aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/renderer/mod.rs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2021-09-15 01:08:10 -0600
committerJosh Rahm <rahm@google.com>2021-09-15 01:18:33 -0600
commit2ded77656793f340440fe0efb54119697bb22a1a (patch)
treedb9e584a2882f2137ff029800cf35a61a7502e65 /alacritty/src/renderer/mod.rs
parentd2b578e011d62311125033d895060986a96d3c88 (diff)
downloadr-alacritty-2ded77656793f340440fe0efb54119697bb22a1a.tar.gz
r-alacritty-2ded77656793f340440fe0efb54119697bb22a1a.tar.bz2
r-alacritty-2ded77656793f340440fe0efb54119697bb22a1a.zip
Added ability to set the special color for the undercur and underlines using the standard ANSI code 59
Diffstat (limited to 'alacritty/src/renderer/mod.rs')
-rw-r--r--alacritty/src/renderer/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/alacritty/src/renderer/mod.rs b/alacritty/src/renderer/mod.rs
index 11ccfc63..0173769c 100644
--- a/alacritty/src/renderer/mod.rs
+++ b/alacritty/src/renderer/mod.rs
@@ -835,6 +835,7 @@ impl<'a> RenderApi<'a> {
bg: Rgb,
string: &str,
) {
+ let sp = Rgb { b: 0, g: 0, r: 0 };
let cells = string
.chars()
.enumerate()
@@ -846,6 +847,7 @@ impl<'a> RenderApi<'a> {
bg_alpha: 1.0,
fg,
bg,
+ sp,
})
.collect::<Vec<_>>();