aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorHonza Pokorny <honza@redhat.com>2017-01-06 22:06:45 -0400
committerHonza Pokorny <me@honza.ca>2017-01-06 22:07:35 -0400
commitea44427be3af0b400e08f598f35ad48e73bc60a1 (patch)
tree342b65b1cf8c53d73693c9ed6dfe0f2c94608ce2 /src/main.rs
parentc73295715629f33e687741769f3079536ed5e104 (diff)
downloadalacritty-ea44427be3af0b400e08f598f35ad48e73bc60a1.tar.gz
alacritty-ea44427be3af0b400e08f598f35ad48e73bc60a1.zip
Add "shell" option to config
This allows you to configure the shell to use when alacritty starts. cc: #122
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index d53daf0f..2cf6dc5a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -93,7 +93,7 @@ fn run(mut config: Config, options: cli::Options) -> Result<(), Box<Error>> {
// The pty forks a process to run the shell on the slave side of the
// pseudoterminal. A file descriptor for the master side is retained for
// reading/writing to the shell.
- let mut pty = tty::new(display.size());
+ let mut pty = tty::new(&config, display.size());
// Create the pseudoterminal I/O loop
//