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