raw()
Yields self within raw mode.
STDIN.raw(&:gets)
will read and return a line with echo back and line editing.
static VALUE console_raw(VALUE io) { return ttymode(io, rb_yield, set_rawmode); }