X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_getch.3x;h=e03970d0fbc8d2d38e883c4b3491c9c862f09bac;hp=71fed5f7b60d6134afe5de9fe79a1b233a7d604c;hb=d4ff840fddef2f6deb4a3daeb26d398a93b58dd2;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/man/curs_getch.3x b/man/curs_getch.3x index 71fed5f7..e03970d0 100644 --- a/man/curs_getch.3x +++ b/man/curs_getch.3x @@ -1,6 +1,6 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2006,2010 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -27,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_getch.3x,v 1.30 2006/12/02 17:02:53 tom Exp $ +.\" $Id: curs_getch.3x,v 1.32 2010/08/14 23:29:16 tom Exp $ .TH curs_getch 3X "" .na .hy 0 @@ -71,7 +71,7 @@ specified timeout has been reached. Unless \fBnoecho\fR has been set, then the character will also be echoed into the designated window according to the following rules: -If the character is the current erase character, left arrow, or backspace, +if the character is the current erase character, left arrow, or backspace, the cursor is moved one space to the left and that screen position is erased as if \fBdelch\fR had been called. If the character value is any other \fBKEY_\fR define, the user is alerted @@ -245,6 +245,10 @@ returns an error if the window pointer is null, or if its timeout expires without having any data. .RE +.PP +Functions with a "mv" prefix first perform a cursor movement using +\fBwmove\fP, and return an error if the position is outside the window, +or if the window pointer is null. .SH NOTES Use of the escape key by a programmer for a single character function is discouraged, as it will cause a delay of up to one second while the