mirror of
https://github.com/wez/wezterm.git
synced 2024-11-10 15:04:32 +03:00
termwiz: windows: fix default text foreground color
We were defaulting to bright white for `CellAttributes::default()` rather than standard grey. heads up @quark-zju and @markbt
This commit is contained in:
parent
466961f9c3
commit
fb6d0bbc7c
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2982,7 +2982,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "termwiz"
|
||||
version = "0.7.0"
|
||||
version = "0.7.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"base64 0.10.1",
|
||||
|
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
authors = ["Wez Furlong"]
|
||||
name = "termwiz"
|
||||
version = "0.7.0"
|
||||
version = "0.7.1"
|
||||
edition = "2018"
|
||||
repository = "https://github.com/wez/wezterm"
|
||||
description = "Terminal Wizardry for Unix and Windows"
|
||||
|
@ -69,7 +69,7 @@ fn to_attr_word(attr: &CellAttributes) -> u16 {
|
||||
|
||||
let fg = match attr.foreground {
|
||||
ColorAttribute::TrueColorWithDefaultFallback(_) | ColorAttribute::Default => {
|
||||
FOREGROUND_BLUE | FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_INTENSITY
|
||||
FOREGROUND_BLUE | FOREGROUND_RED | FOREGROUND_GREEN
|
||||
}
|
||||
|
||||
ColorAttribute::TrueColorWithPaletteFallback(_, idx)
|
||||
|
Loading…
Reference in New Issue
Block a user