|
X/Open Curses Library Functions | echo(3XCURSES) |
| echo, noecho - enable/disable terminal echo |
SYNOPSIS
|
#include <curses.h> int echo(void); |
|
The echo() function enables Echo mode for the current screen. The noecho() function disables Echo mode for the current screen. Initially, curses software echo
mode is enabled and hardware echo mode of the tty driver is disabled. The echo() and noecho() functions control software echo only. Hardware echo
must remain disabled for the duration of the application, else the behavior is undefined.
|
|
Upon successful completion, these functions return OK. Otherwise, they return ERR.
|
| |