1curs_delch(3X) curs_delch(3X)
2
3
4
6 delch, wdelch, mvdelch, mvwdelch - delete character under the cursor in
7 a curses window
8
10 #include <curses.h>
11
12 int delch(void);
13 int wdelch(WINDOW *win);
14 int mvdelch(int y, int x);
15 int mvwdelch(WINDOW *win, int y, int x);
16
18 These routines delete the character under the cursor; all characters to
19 the right of the cursor on the same line are moved to the left one po‐
20 sition and the last character on the line is filled with a blank. The
21 cursor position does not change (after moving to y, x, if specified).
22 (This does not imply use of the hardware delete character feature.)
23
25 All routines return the integer ERR upon failure and an OK (SVr4 speci‐
26 fies only "an integer value other than ERR") upon successful comple‐
27 tion.
28
29 Functions with a “mv” prefix first perform a cursor movement using
30 wmove, and return an error if the position is outside the window, or if
31 the window pointer is null.
32
34 Note that delch, mvdelch, and mvwdelch may be macros.
35
37 These functions are described in the XSI Curses standard, Issue 4. The
38 standard specifies that they return ERR on failure, but specifies no
39 error conditions.
40
42 curses(3X)
43
44
45
46 curs_delch(3X)