aboutsummaryrefslogtreecommitdiff
path: root/keys.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-05-22 00:25:25 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-05-22 00:25:25 -0700
commit075525603907717663e22f424d40ac6a74b806db (patch)
tree7868f8a58b0d94a18ab7c191cce6c50a53364e30 /keys.h
parentb7b6b6cc74a477a3745d06bce64e284e5b2dd880 (diff)
Added dynamically generated help, fixed some ctrl-c stuff.
Diffstat (limited to 'keys.h')
-rw-r--r--keys.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/keys.h b/keys.h
index b4731f9..fc1e8b2 100644
--- a/keys.h
+++ b/keys.h
@@ -1,3 +1,10 @@
+/*
+ * Definitions of some key character constants
+ */
+
+#ifndef KEYS_DEFINED
+#define KEYS_DEFINED
+
#define KEY_F1 (0xFFFF-0)
#define KEY_F2 (0xFFFF-1)
#define KEY_F3 (0xFFFF-2)
@@ -189,3 +196,5 @@ int term_getkey(int fd, int *mouse_x, int *mouse_y)
}
return -1;
}
+
+#endif