Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
ungetch(p1)
public
Places ch back onto the input queue to be returned by the next
call to Curses.getch.
There is just one input queue for all windows.
static VALUE
curses_ungetch(VALUE obj, VALUE ch)
{
int c = curses_char(ch);
curses_stdscr();
ungetch(c);
return Qnil;
}