diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index e51875a6..5126b09d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -95,7 +95,7 @@ fn run(mut config: Config, options: cli::Options) -> Result<(), Box<Error>> { // This object contains all of the state about what's being displayed. It's // wrapped in a clonable mutex since both the I/O loop and display need to // access it. - let terminal = Term::new(display.size().to_owned()); + let terminal = Term::new(&config, display.size().to_owned()); let terminal = Arc::new(FairMutex::new(terminal)); // Create the pty @@ -156,6 +156,7 @@ fn run(mut config: Config, options: cli::Options) -> Result<(), Box<Error>> { config = new_config; display.update_config(&config); processor.update_config(&config); + terminal.update_config(&config); terminal.dirty = true; }); |