Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

clearok(3cur)

erase(3cur)

refresh(3cur)

clear(3cur)

NAME

clear, wclear − clear window

SYNTAX

clear()
wclear(win)
WINDOW ∗win;

DESCRIPTION

The clear routine resets the entire default window to blanks and sets the current (y, x) coordinates to (0, 0).

The routine wclear resets the entire specified window to blanks and sets the current (y, x) coordinates to (0, 0).

The clear routine assumes that the screen may have garbage on it that it doesn’t know about. The routine first calls erase which copies blanks to every position in the default window, and then clearok, which clears the physical screen completely on the next call to refresh for stdscr.

The routine clear is a macro.

SEE ALSO

clearok(3cur), erase(3cur), refresh(3cur)

Subroutines

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