diff options
author | Nathan Lilienthal <nathan@nixpulvis.com> | 2018-06-18 01:26:54 -0400 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-06-18 05:26:54 +0000 |
commit | f55252ec8537e68d0c98a1fac35728a2b596d328 (patch) | |
tree | 8a9f879ad803faec66d9a9b4385e4dcd8f358680 /src/main.rs | |
parent | 5ba34d4f9766a55a06ed5e3e44cc384af1b09f65 (diff) | |
download | alacritty-f55252ec8537e68d0c98a1fac35728a2b596d328.tar.gz alacritty-f55252ec8537e68d0c98a1fac35728a2b596d328.zip |
Override dynamic_title when --title is specified
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index b0e507e4..652569be 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,7 +44,7 @@ use alacritty::util::fmt::Red; fn main() { // Load command line options and config let options = cli::Options::load(); - let config = load_config(&options); + let config = load_config(&options).update_dynamic_title(&options); // Switch to home directory #[cfg(target_os = "macos")] @@ -178,7 +178,7 @@ fn run(mut config: Config, options: &cli::Options) -> Result<(), Box<Error>> { .as_ref() .and_then(|monitor| monitor.pending_config()) { - config = new_config; + config = new_config.update_dynamic_title(&options); display.update_config(&config); processor.update_config(&config); terminal.update_config(&config); |