raw(*args)
public
Yields self within raw mode.
STDIN.raw(&:gets)
will read and return a line without echo back
and line editing.
You must require ‘io/console’ to use this method.
static VALUE
console_raw(int argc, VALUE *argv, VALUE io)
{
rawmode_arg_t opts, *optp = rawmode_opt(argc, argv, &opts);
return ttymode(io, rb_yield, set_rawmode, optp);
}