summaryrefslogtreecommitdiff
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
commit4813bc031820935359bebbaefd218e7600c6a9c8 (patch)
treeb3702b50e3a43d43c6c3c577c63afaa35bc68ad4 /termcodes.c
parent8c6c7e37d2c9293be852d8bcb1d3eaa216648361 (diff)
downloaddropbear-4813bc031820935359bebbaefd218e7600c6a9c8.tar.gz
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},