diff options
author | Kirill Chibisov <wchibisovkirill@gmail.com> | 2019-07-11 00:24:04 +0300 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-07-10 21:24:04 +0000 |
commit | 9a159a77604e0354f1176b02ff700bc11da19c86 (patch) | |
tree | f430d60b8431e7862479a0579918e737289a2f38 /alacritty_terminal/src/ansi.rs | |
parent | c4d2725e14ca9488b1b086024bf827c66945ae7b (diff) | |
download | alacritty-9a159a77604e0354f1176b02ff700bc11da19c86.tar.gz alacritty-9a159a77604e0354f1176b02ff700bc11da19c86.zip |
Fix cursor color setting with escape sequence
The cursor rework introduced a regression where cursor color was always picked
from a config file, rather then using `ansi::NamedColor::Cursor` for this
purpose.
This commit also removes `CursorText` option from `NamedColor` enum,
since we can't speculate with `CursorText` during runtime.
Cursor rework commits:
cfc20d4f34dca535654cc32df18e785296af4cc5
371d13f8ef95157c97f7de9964bcbc89d4a8e930
0d060d5d801e3abb55035269138d819d38fc175b
Diffstat (limited to 'alacritty_terminal/src/ansi.rs')
-rw-r--r-- | alacritty_terminal/src/ansi.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/alacritty_terminal/src/ansi.rs b/alacritty_terminal/src/ansi.rs index 07fc18ea..b4cf4476 100644 --- a/alacritty_terminal/src/ansi.rs +++ b/alacritty_terminal/src/ansi.rs @@ -539,8 +539,6 @@ pub enum NamedColor { Background, /// Color for the cursor itself Cursor, - /// Color for the text under the cursor - CursorText, /// Dim black DimBlack, /// Dim red |