]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/define_key.3x
ncurses 6.5 - patch 20240608
[ncurses.git] / man / define_key.3x
index 52086b6540fe987f999196507872cb13c5109adc..1e450207d7886f26d6d4a483a77d92f5e92b3dba 100644 (file)
@@ -29,8 +29,8 @@
 .\"
 .\" Author: Thomas E. Dickey 1997
 .\"
-.\" $Id: define_key.3x,v 1.44 2024/05/18 20:04:21 tom Exp $
-.TH define_key 3X 2024-05-18 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: define_key.3x,v 1.48 2024/06/08 23:25:11 tom Exp $
+.TH define_key 3X 2024-06-08 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
 .
 .de bP
 .ie n  .IP \(bu 4
@@ -72,13 +72,14 @@ A
 .I definition
 of
 .B NULL
-removes any existing one
+removes any existing binding from
 .IR key-code "."
 Similarly,
 a non-positive
 .I key-code
-removes any existing bindings for
-.IR definition "."
+removes an existing binding for
+.IR definition ","
+if any.
 .SH RETURN VALUE
 .B \%define_key
 returns
@@ -121,9 +122,8 @@ since 2.0 (2004) supports
 .SH AUTHORS
 Thomas Dickey
 .SH SEE ALSO
-\fB\%ncurses\fP(3X),
-\fB\%keyok\fP(3X),
-\fB\%key_defined\fP(3X),
+\fB\%curses\fP(3X),
 \fB\%keybound\fP(3X),
 \fB\%keyok\fP(3X),
+\fB\%key_defined\fP(3X),
 \fB\%terminfo\fP(5)