Searched refs:new_settings (Results 1 – 1 of 1) sorted by relevance
19 let mut new_settings = cur_settings.clone(); in set_tty() localVariable20 new_settings.c_lflag &= !(termios::ICANON) & !(termios::ECHO); in set_tty()21 new_settings.c_cc[termios::VMIN] = 1; in set_tty()22 new_settings.c_cc[termios::VTIME] = 0; in set_tty()24 tcsetattr(stdin, termios::TCSANOW, &new_settings)?; in set_tty()