summaryrefslogtreecommitdiffhomepage
path: root/termcodes.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-14 22:49:19 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-14 22:49:19 +0800
commit3bdfae61a23e597acd97db189feea74fb27e028a (patch)
tree4784b179e19f4db7b40dca3cdd7ab2741476c608 /termcodes.c
parent4404126501ba18184a8e04f815c21e7a9184414a (diff)
parentadeb372a66643000aee8445f8b2f9854fdfb4402 (diff)
merge
Diffstat (limited to 'termcodes.c')
-rw-r--r--termcodes.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/termcodes.c b/termcodes.c
index d59505c..490e6ce 100644
--- a/termcodes.c
+++ b/termcodes.c
@@ -107,8 +107,14 @@ const struct TermCode termcodes[MAX_TERMCODE+1] = {
#else
{0, 0},
#endif
- {0, 0}, /* 42 */
+ /* IUTF8 isn't standardised in rfc4254 but is likely soon.
+ * Implemented by linux and darwin */
+#ifdef IUTF8
+ {IUTF8, TERMCODE_INPUT},
+#else
{0, 0},
+#endif
+ {0, 0}, /* 43 */
{0, 0},
{0, 0},
{0, 0},