diff options
Diffstat (limited to 'alacritty_terminal/src/tty/unix.rs')
-rw-r--r-- | alacritty_terminal/src/tty/unix.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs index 2b4f8e54..2c06d54f 100644 --- a/alacritty_terminal/src/tty/unix.rs +++ b/alacritty_terminal/src/tty/unix.rs @@ -280,9 +280,7 @@ pub fn new(config: &Options, window_size: WindowSize, window_id: u64) -> Result< set_nonblocking(master_fd); } - let mut pty = Pty { child, file: File::from(master), signals }; - pty.on_resize(window_size); - Ok(pty) + Ok(Pty { child, file: File::from(master), signals }) }, Err(err) => Err(Error::new( err.kind(), |