summaryrefslogtreecommitdiff
path: root/term/key_eol.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-04-13 19:51:54 -0400
committerJakob Kaivo <jkk@ung.org>2022-04-13 19:51:54 -0400
commitfa799768c4f6d97c5f60a37829ad1b457b7c0096 (patch)
treeed28b64735a6a79b10ecf1a87296f36e88745f4e /term/key_eol.c
separate from libc
Diffstat (limited to 'term/key_eol.c')
-rw-r--r--term/key_eol.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/term/key_eol.c b/term/key_eol.c
new file mode 100644
index 0000000..1509a97
--- /dev/null
+++ b/term/key_eol.c
@@ -0,0 +1,11 @@
+#include <term.h>
+
+#define key_eol tigetstr("kel")
+
+/** clear-to-end-of-line key **/
+
+/*
+TERMINFO_NAME(kel)
+TERMCAP_NAME(kE)
+XOPEN(400)
+*/