diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2019-10-10 00:37:48 +0300 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-10-09 23:37:48 +0200 |
commit | 4cb5566a9c2d68006ffa97e2f8082ae3ef6c8de4 (patch) | |
tree | f8cccdab59503d791b9fb44d0b9b5fb3ee3b1b85 /alacritty/src/main.rs | |
parent | 24651a6144e5071f0a72d991734a9b380255156e (diff) | |
download | r-alacritty-4cb5566a9c2d68006ffa97e2f8082ae3ef6c8de4.tar.gz r-alacritty-4cb5566a9c2d68006ffa97e2f8082ae3ef6c8de4.tar.bz2 r-alacritty-4cb5566a9c2d68006ffa97e2f8082ae3ef6c8de4.zip |
Add --hold CLI flag
This implements --hold flag which keeps Alacritty open after
its child process exits.
Fixes #1165.
Diffstat (limited to 'alacritty/src/main.rs')
-rw-r--r-- | alacritty/src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alacritty/src/main.rs b/alacritty/src/main.rs index cbd00443..65e13a62 100644 --- a/alacritty/src/main.rs +++ b/alacritty/src/main.rs @@ -178,8 +178,7 @@ fn run(window_event_loop: GlutinEventLoop<Event>, config: Config) -> Result<(), // renderer and input processing. Note that access to the terminal state is // synchronized since the I/O loop updates the state, and the display // consumes it periodically. - let event_loop = - EventLoop::new(Arc::clone(&terminal), event_proxy.clone(), pty, config.debug.ref_test); + let event_loop = EventLoop::new(Arc::clone(&terminal), event_proxy.clone(), pty, &config); // The event loop channel allows write requests from the event processor // to be sent to the pty loop and ultimately written to the pty. |