Delete the character on the specified window at the current
position of the cursor. The delch function operates on the stdscr
window.
Format
#include <curses.h>
int delch();
int wdelch (WINDOW *win);
1 – Argument
win
A pointer to the window.
2 – Description
All of the characters to the right of the cursor on the same line
are shifted to the left, and a blank character is appended to the
end of the line.
3 – Return Values
OK Indicates success.
ERR Indicates an error.