diff options
author | Christian Duerr <contact@christianduerr.com> | 2023-11-08 05:19:11 +0100 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2023-11-11 20:33:06 +0100 |
commit | 683b5a2cb47579560ed272dc1a4818507dbd30c7 (patch) | |
tree | 226abbead70795e53b4c9162cb30609d7a1210af /alacritty/src/logging.rs | |
parent | 4a2666706062934c4830e73672e78fcde3210310 (diff) | |
download | r-alacritty-683b5a2cb47579560ed272dc1a4818507dbd30c7.tar.gz r-alacritty-683b5a2cb47579560ed272dc1a4818507dbd30c7.tar.bz2 r-alacritty-683b5a2cb47579560ed272dc1a4818507dbd30c7.zip |
Unify CLI config override mechanisms
This patch changes the way the `-o` config option works when specified
at startup to function the same way as the IPC mechanism.
While this should technically perform the exact same way, it should
hopefully make it a little easier to understand how CLI config
replacement works.
Diffstat (limited to 'alacritty/src/logging.rs')
-rw-r--r-- | alacritty/src/logging.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alacritty/src/logging.rs b/alacritty/src/logging.rs index 4c92a9de..5366829f 100644 --- a/alacritty/src/logging.rs +++ b/alacritty/src/logging.rs @@ -20,8 +20,8 @@ use crate::cli::Options; use crate::event::{Event, EventType}; use crate::message_bar::{Message, MessageType}; -/// Logging target for IPC config error messages. -pub const LOG_TARGET_IPC_CONFIG: &str = "alacritty_log_ipc_config"; +/// Logging target for per-window config error messages. +pub const LOG_TARGET_WINDOW_CONFIG: &str = "alacritty_log_window_config"; /// Name for the environment variable containing the log file's path. const ALACRITTY_LOG_ENV: &str = "ALACRITTY_LOG"; @@ -42,7 +42,7 @@ static EXTRA_LOG_TARGETS: Lazy<Vec<String>> = Lazy::new(|| { /// List of targets which will be logged by Alacritty. const ALLOWED_TARGETS: &[&str] = &[ - LOG_TARGET_IPC_CONFIG, + LOG_TARGET_WINDOW_CONFIG, LOG_TARGET_CONFIG, "alacritty_config_derive", "alacritty_terminal", |