Deletes the character from a window.
Curses Library (libcurses.a)
#include <curses.h>
int delch(void);
int mvdelch
(int y
int x);
mvwdelch
(WINDOW *win;
int y
int x);
wdelch
(WINDOW *win);
The delch, mvdelch, mvwdelch, and wdelch subroutines delete the character at the current or specified position in the current or specified window. This subroutine does not change the cursor position.
| Item | Description |
|---|---|
| x | |
| y | |
| *win | Identifies the window from which to delete the character. |
Upon successful completion, these subroutines return OK. Otherwise, they return ERR.
mvdelch();
mvwdelch(20, 30);
wdelch(my_window, 20, 30);