alacritty_terminal::tty
pub fn new<C>( config: &Config<C>, size: &SizeInfo, window_id: Option<usize>) -> Pty
Create a new TTY and return a handle to interact with it.