delch(3cur) delch(3cur)
Name
delch, mvdelch, mvwdelch, wdelch - remove character from window
Syntax
#include <cursesX.h>
int delch()
int wdelch(win)
WINDOW *win;
int mvdelch(y, x)
int y, x;
int mvwdelch(win, y, x)
WINDOW *win;
int y, x;
Description
The routine deletes the character under the cursor in the default window. All characters to the right on the same line are moved to the
left one position and the last character on the line is filled with a blank. The cursor position does not change.
The routine deletes the character under the cursor in the specified window. All characters to the right on the same line are moved to the
left one position and the last character on the line is filled with a blank. The cursor position does not change.
The routine moves the cursor to the specified position in the default window. The character found at this location is deleted. All char-
acters to the right on the same line are moved to the left one position and the last character on the line is filled with a blank. The
cursor position does not change.
The routine moves the cursor to the specified position in the specified window. The character found at this location is deleted. All
characters to the right on the same line are moved to the left one position and the last character on the line is filled with a blank. The
cursor position does not change.
The routines and are macros.
Return Values
The and functions return OK on success and ERR on error.
delch(3cur)