aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-12-22 12:52:35 -0800
committerJoe Wilm <jwilm@users.noreply.github.com>2017-12-22 13:14:47 -0800
commit7f944a4d3acc40433e0608ad3c9c2dff5bd6295d (patch)
tree268208e65305c0730d50988822148bfc5e301bea /src
parent06812ccea1322511208253864bf2ff435209da28 (diff)
downloadalacritty-7f944a4d3acc40433e0608ad3c9c2dff5bd6295d.tar.gz
alacritty-7f944a4d3acc40433e0608ad3c9c2dff5bd6295d.zip
Use consistent config deprecation message style
Diffstat (limited to 'src')
-rw-r--r--src/config.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.rs b/src/config.rs
index 3bbbedcd..d8f96fce 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -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,