1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Use consistent config deprecation message style

This commit is contained in:
Joe Wilm 2017-12-22 12:52:35 -08:00
parent 21c003c3be
commit 3587e35c6d

View file

@ -873,10 +873,10 @@ impl CursorOrPrimaryColors {
}, },
CursorOrPrimaryColors::Primary { foreground, background } => { CursorOrPrimaryColors::Primary { foreground, background } => {
// Must print in config since logger isn't setup yet. // Must print in config since logger isn't setup yet.
println!("{}", eprintln!("{}",
Yellow("You're using a deprecated form of cursor color config. Please update \ Yellow("Config `colors.cursor.foreground` and `colors.cursor.background` \
your config to use `text` and `cursor` properties instead of `foreground` \ are deprecated. Please use `colors.cursor.text` and \
and `background`. This will become an error in a future release.") `colors.cursor.cursor` instead.")
); );
CursorColors { CursorColors {
text: foreground, text: foreground,