Method: Curses::Window#insch

Defined in:
ext/curses/curses.c

#insch(ch) ⇒ Object

Insert a character ch, before the cursor, in the current window



2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
# File 'ext/curses/curses.c', line 2455

static VALUE
window_insch(VALUE obj, VALUE ch)
{
    struct windata *winp;

    GetWINDOW(obj, winp);
    winsch(winp->window, OBJ2CHTYPE(ch));

    return Qnil;
}