changeset 738:2001bc3c9397

add IUTF8
author Matt Johnston <matt@ucc.asn.au>
date Tue, 02 Apr 2013 19:11:13 +0800
parents 7deb6fda1319
children c8c791c5d83e
files termcodes.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
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},