bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 01/32] man/curs_mouse.3x: Fix error.


From: G. Branden Robinson
Subject: [PATCH 01/32] man/curs_mouse.3x: Fix error.
Date: Sat, 11 May 2024 08:27:21 -0500

xterm's "keypad application mode" is not the same thing as an ncurses
window's keypad enablement bit.  When trying to disambiguate the phrase
"keypad bit", I did it the wrong way.

Problem introduced by me in
<https://lists.gnu.org/archive/html/bug-ncurses/2023-10/msg00074.html>.
---
 man/curs_mouse.3x | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/man/curs_mouse.3x b/man/curs_mouse.3x
index 8e5c70181..2d9ff4996 100644
--- a/man/curs_mouse.3x
+++ b/man/curs_mouse.3x
@@ -487,11 +487,12 @@ .SH BUGS
 .I \%xterm
 mouse report sequence appears in the string read.
 .PP
-Mouse event reports from
+An
+.I \%ncurses
+window must enable \fB\%keypad\fP(3X) to correctly receive mouse event
+reports from
 .I \%xterm
-are not detected correctly in a window with keypad application mode
-disabled,
-since they are interpreted as a variety of function key.
+since they are encoded like function keys.
 Set the terminal's
 .I \%term\%info
 capability \fB\%kmous\fP to \*(``\eE[M\*(''
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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