ncursesw
pub fn ungetch(ch: char) -> Result<(), NCurseswError>
Push ch so the next getch() will return it.
Note: Only one ch can be pushed before getch() is called.
getch()