Method: Curses::Window#touched?

Defined in:
ext/curses/curses.c

#touched?Boolean

Return true if the window has been modified since the last call of refresh.

Returns:

  • (Boolean)


2081
2082
2083
2084
2085
2086
2087
2088
# File 'ext/curses/curses.c', line 2081

static VALUE
window_touched(VALUE obj)
{
    struct windata *winp;

    GetWINDOW(obj, winp);
    return is_wintouched(winp->window) ? Qtrue : Qfalse;
}