delch([y, x]) Delete the character under the cursor, or at (y, x) if specified. y Y-coordinate. x X-coordinate. All characters to the right on the same line are shifted one position left.
curses/window.delch
window.delch