diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2020-01-21 00:13:39 +0300 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2020-01-20 22:13:39 +0100 |
commit | 5e22512fe6a1a6a8e347c09bbc486408753bff95 (patch) | |
tree | ffde7006b65d98d71877221ca8de189b6f11e5b7 /alacritty_terminal | |
parent | 2f1a390aaad188d1cad9fc689620ae90e027cc8a (diff) |
Disable drawing bold text bright by default
Since the assumption is usually that bold text is drawn in bright
colors, this might break some applications. However some other terminals
have already taken this leap, which should lessen the impact for
Alacritty.
Since this might still be desired and necessary for certain
applications, the config option is just switched to draw with normal
colors by default, however the old behavior can still be restored.
Fixes #2779.
Diffstat (limited to 'alacritty_terminal')
-rw-r--r-- | alacritty_terminal/src/config/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/src/config/mod.rs b/alacritty_terminal/src/config/mod.rs index d077190b..fd049af0 100644 --- a/alacritty_terminal/src/config/mod.rs +++ b/alacritty_terminal/src/config/mod.rs @@ -60,7 +60,7 @@ pub struct Config<T> { /// Should draw bold text with brighter colors instead of bold font #[serde(default, deserialize_with = "failure_default")] - draw_bold_text_with_bright_colors: DefaultTrueBool, + draw_bold_text_with_bright_colors: bool, #[serde(default, deserialize_with = "failure_default")] pub colors: Colors, @@ -149,7 +149,7 @@ impl<T> Config<T> { #[inline] pub fn draw_bold_text_with_bright_colors(&self) -> bool { - self.draw_bold_text_with_bright_colors.0 + self.draw_bold_text_with_bright_colors } /// Should show render timer |