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:
parent
21c003c3be
commit
3587e35c6d
1 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue