diff options
author | David Hewitt <1939362+davidhewitt@users.noreply.github.com> | 2019-12-21 21:23:18 +0000 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-12-21 21:23:18 +0000 |
commit | 7a957978e41b4737530bf83bed82b7c177004b30 (patch) | |
tree | f60ff89ce56e59622fa24e762c7eb37904c397e2 /alacritty_terminal/src/tty/windows | |
parent | 512461a2419d5794b0c472087640191bf17e25f2 (diff) | |
download | alacritty-7a957978e41b4737530bf83bed82b7c177004b30.tar.gz alacritty-7a957978e41b4737530bf83bed82b7c177004b30.zip |
Default to ConPTY instead of WinPTY
Diffstat (limited to 'alacritty_terminal/src/tty/windows')
-rw-r--r-- | alacritty_terminal/src/tty/windows/conpty.rs | 2 | ||||
-rw-r--r-- | alacritty_terminal/src/tty/windows/mod.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/alacritty_terminal/src/tty/windows/conpty.rs b/alacritty_terminal/src/tty/windows/conpty.rs index 5e5a0118..44b3662f 100644 --- a/alacritty_terminal/src/tty/windows/conpty.rs +++ b/alacritty_terminal/src/tty/windows/conpty.rs @@ -102,7 +102,7 @@ impl Drop for Conpty { unsafe impl Send for Conpty {} pub fn new<C>(config: &Config<C>, size: &SizeInfo, _window_id: Option<usize>) -> Option<Pty> { - if !config.enable_experimental_conpty_backend { + if config.winpty_backend { return None; } diff --git a/alacritty_terminal/src/tty/windows/mod.rs b/alacritty_terminal/src/tty/windows/mod.rs index 9e2f722b..f5e0e61f 100644 --- a/alacritty_terminal/src/tty/windows/mod.rs +++ b/alacritty_terminal/src/tty/windows/mod.rs @@ -61,11 +61,11 @@ pub struct Pty { pub fn new<C>(config: &Config<C>, size: &SizeInfo, window_id: Option<usize>) -> Pty { if let Some(pty) = conpty::new(config, size, window_id) { - info!("Using Conpty agent"); + info!("Using ConPTY backend"); IS_CONPTY.store(true, Ordering::Relaxed); pty } else { - info!("Using Winpty agent"); + info!("Using WinPTY backend"); winpty::new(config, size, window_id) } } |