inch([y, x]) Return the character at the given position in the window. y Y-coordinate. x X-coordinate. The bottom 8 bits are the character proper, and upper bits are the attributes.
curses/window.inch
window.inch