aboutsummaryrefslogtreecommitdiff
path: root/termkey_waitkey.3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'termkey_waitkey.3.sh')
-rw-r--r--termkey_waitkey.3.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/termkey_waitkey.3.sh b/termkey_waitkey.3.sh
index 14f4f71..81d9f6e 100644
--- a/termkey_waitkey.3.sh
+++ b/termkey_waitkey.3.sh
@@ -25,6 +25,9 @@ A key event as been provided.
.TP
.B TERMKEY_RES_EOF
No key events are ready and the terminal has been closed, so no more will arrive.
+.TP
+.B TERMKEY_RES_ERROR
+An IO error occured. \fIerrno\fP will be preserved.
.SH EXAMPLE
The following example program prints details of every keypress until the user presses "Ctrl-C".
.PP