From 219442cff707a1febb6a75ba2cfe48b02ae0a22e Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 7 Jan 2011 14:34:45 +0000 Subject: Sync OpenBSD patchset 828: Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262 and supports larger terminals than the older way. If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all UTF-8 terminals. The option defaults to on if LANG etc are set in the same manner as the utf8 option. With help and based on code from hsim at gmx.li. --- options-table.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'options-table.c') diff --git a/options-table.c b/options-table.c index e8021e32..e769db7a 100644 --- a/options-table.c +++ b/options-table.c @@ -1,4 +1,4 @@ -/* $Id: options-table.c,v 1.2 2011-01-03 23:55:30 tcunha Exp $ */ +/* $Id: options-table.c,v 1.3 2011-01-07 14:34:45 tcunha Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott @@ -197,6 +197,11 @@ const struct options_table_entry session_options_table[] = { .default_num = 0 }, + { .name = "mouse-utf8", + .type = OPTIONS_TABLE_FLAG, + .default_num = 0 + }, + { .name = "pane-active-border-bg", .type = OPTIONS_TABLE_COLOUR, .default_num = 8 -- cgit