summaryrefslogtreecommitdiffstats
path: root/options-table.c
authortcunha <tcunha>2011-01-07 14:34:45 (GMT)
committer tcunha <tcunha>2011-01-07 14:34:45 (GMT)
commit3399e17193a3a994a334f887c81d0f95a8557505 (patch) (side-by-side diff)
tree64c1ccc03fa197e8b69b001c109925a7ca084180 /options-table.c
parent2a40219e1febd617914da42fb118b25b6ca51c10 (diff)
downloadtmux-old-3399e17193a3a994a334f887c81d0f95a8557505.zip
tmux-old-3399e17193a3a994a334f887c81d0f95a8557505.tar.gz
tmux-old-3399e17193a3a994a334f887c81d0f95a8557505.tar.bz2
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.
Diffstat (limited to 'options-table.c') (more/less context) (ignore whitespace changes)
-rw-r--r--options-table.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/options-table.c b/options-table.c
index 644c03b..721456b 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 <[email protected]>
@@ -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