From 3587e35c6d691b2851a7f73dbfaab3689ac551c9 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Fri, 22 Dec 2017 12:52:35 -0800 Subject: [PATCH] Use consistent config deprecation message style --- src/config.rs | 8 ++++---- 1 file 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,