]> granicus.if.org Git - nethack/commitdiff
window.doc update
authornethack.allison <nethack.allison>
Fri, 23 Aug 2002 18:30:01 +0000 (18:30 +0000)
committernethack.allison <nethack.allison>
Fri, 23 Aug 2002 18:30:01 +0000 (18:30 +0000)
Nethack doesn't like zero,
or zero with the meta bit set.

doc/window.doc

index 70cc6da8bb4e484549dd535fb3cae8d8e5de6091..bfb3110e457ceb60099154b4e3898561de5950c5 100644 (file)
@@ -118,7 +118,8 @@ get_nh_event()      -- Does window event processing (e.g. exposure events).
 int nhgetch()  -- Returns a single character input from the user.
                -- In the tty window-port, nhgetch() assumes that tgetch()
                   will be the routine the OS provides to read a character.
-                  Returned character _must_ be non-zero.
+                  Returned character _must_ be non-zero and it must be
+                   non meta-zero too (zero with the meta-bit set).
 int nh_poskey(int *x, int *y, int *mod)
                -- Returns a single character input from the user or a
                   a positioning event (perhaps from a mouse).  If the