summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorDanny Dulai <danny@ishiboo.com>2017-01-08 22:18:39 -0500
committerJoe Wilm <jwilm@users.noreply.github.com>2017-01-29 16:06:29 -0800
commite04584b0826eb18917314c2ea7bee7c8a22295be (patch)
tree6aeb88a41dd3a60d0fc6152e080a05e079cb5a65 /src/main.rs
parent2b478e7b9c5e7cd6c93254d3882e79ced9ec43c9 (diff)
downloadalacritty-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.rs3
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;
});