diff termcodes.c @ 738:2001bc3c9397

add IUTF8
author Matt Johnston <matt@ucc.asn.au>
date Tue, 02 Apr 2013 19:11:13 +0800
parents 2877c5a02d7c
children 8aed91ebf3c7
line wrap: on
line diff
--- a/termcodes.c	Tue Apr 02 18:59:00 2013 +0800
+++ b/termcodes.c	Tue Apr 02 19:11:13 2013 +0800
@@ -107,8 +107,14 @@
 #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},