summaryrefslogtreecommitdiffhomepage
path: root/termcodes.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-02 19:11:13 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-02 19:11:13 +0800
commita6eb824950e6d938fa47c1f9fa1880b652d51833 (patch)
tree9f97c0c9f3b1fbecd0f89c156d99049dce68b84a /termcodes.c
parentdcd1527a1125eef0e9171f440276522476624fd8 (diff)
add IUTF8
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},