Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

delch(3)  —  Subroutines

Digital

NAME

delch, mvdelch, mvwdelch, wdelch − remove character from window

SYNOPSIS

#include <curses.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 delch 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 wdelch 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 mvdelch moves the cursor to the specified position in the default 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 routine mvwdelch 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 delch, mvdelch, and mvwdelch are macros. 

RETURN VALUES

The delch, mvdelch, mvwdelch, and wdelch functions return OK on success and ERR on error. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026