Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

doupdate(3cur)

refresh(3cur)

endwin(3cur)

Name

endwin − restore initial terminal environment

Syntax

int endwin()

Description

This routine restores tty modes, moves the cursor to the lower left corner of the screen and resets the terminal to the last non- curses mode.

A program should always call endwin before exiting or escaping from curses mode temporarily. Call refresh or doupdate to resume after a temporary escape.

Return Value

The endwin function returns OK on success and ERR on error.

Errors

No errors are defined for this function. 

See Also

doupdate(3cur), refresh(3cur)

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