diff options
Diffstat (limited to 'alacritty_terminal/src/tty')
-rw-r--r-- | alacritty_terminal/src/tty/windows/conpty.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alacritty_terminal/src/tty/windows/conpty.rs b/alacritty_terminal/src/tty/windows/conpty.rs index be147b49..fa9f8b5a 100644 --- a/alacritty_terminal/src/tty/windows/conpty.rs +++ b/alacritty_terminal/src/tty/windows/conpty.rs @@ -125,8 +125,7 @@ pub fn new<C>(config: &Config<C>, size: &SizeInfo, _window_id: Option<usize>) -> let mut startup_info_ex: STARTUPINFOEXW = Default::default(); - let title = win32_string(&config.window.title); - startup_info_ex.StartupInfo.lpTitle = title.as_ptr() as LPWSTR; + startup_info_ex.StartupInfo.lpTitle = std::ptr::null_mut() as LPWSTR; startup_info_ex.StartupInfo.cb = mem::size_of::<STARTUPINFOEXW>() as u32; |