diff options
author | Danny Dulai <danny@ishiboo.com> | 2017-01-08 22:18:39 -0500 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-01-29 16:06:29 -0800 |
commit | e04584b0826eb18917314c2ea7bee7c8a22295be (patch) | |
tree | 6aeb88a41dd3a60d0fc6152e080a05e079cb5a65 /src/main.rs | |
parent | 2b478e7b9c5e7cd6c93254d3882e79ced9ec43c9 (diff) | |
download | alacritty-e04584b0826eb18917314c2ea7bee7c8a22295be.tar.gz alacritty-e04584b0826eb18917314c2ea7bee7c8a22295be.zip |
support for inverting the cursor or using colors
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; }); |