Searched refs:modify_mode (Results 1 – 1 of 1) sorted by relevance
16 fn modify_mode<F: FnOnce(&mut termios)>(fd: RawFd, f: F) -> Result<()> { in modify_mode() function70 modify_mode(self.tty_fd(), |t| t.c_lflag |= ICANON | ECHO | ISIG) in set_canon_mode()75 modify_mode(self.tty_fd(), |t| t.c_lflag &= !(ICANON | ECHO | ISIG)) in set_raw_mode()