bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 021/100] man/curs_variables.3x: Recast explanation of "ESCDELAY".


From: G. Branden Robinson
Subject: [PATCH 021/100] man/curs_variables.3x: Recast explanation of "ESCDELAY".
Date: Sat, 30 Mar 2024 16:50:18 -0500

---
 man/curs_variables.3x | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/man/curs_variables.3x b/man/curs_variables.3x
index cf320a6ad..ea29b0aea 100644
--- a/man/curs_variables.3x
+++ b/man/curs_variables.3x
@@ -216,14 +216,21 @@ .SS "COLS, LINES"
 that is,
 the number of columns and lines.
 .SS ESCDELAY
-For \fIcurses\fP to distinguish an escape character corresponding to a
-user's press of an \*(``Escape\*('' key on the input device from one
-included in a control sequence used by a cursor movement or function
-key,
-the library waits to see if another key event occurs after the escape
-character.
-\fB\%ESCDELAY\fP
+For
+.I curses
+to distinguish the ESC character resulting from a user's press of the
+\*(``Escape\*('' key on the input device from one beginning an
+.I "escape sequence"
+(as commonly produced by function keys),
+it waits after the escape character to see if further characters are
+available on the input stream within a short interval.
+.B \%ESCDELAY
 stores this interval in milliseconds.
+.PP
+If \fB\%keypad\fP(3X) is disabled for the
+.I curses
+window receiving input,
+a program must disambiguate escape sequences itself.
 .SS TABSIZE
 The \fIcurses\fP library converts a tab character to this number of
 spaces as it adds a tab to a window;
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]