diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-01-03 23:35:21 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-01-03 23:35:21 +0000 |
commit | ac3b78a84178a308536a56ea114b0f6f8ce6fb47 (patch) | |
tree | 71c4a4c1030c29d670c965315b0c87dccf9c8972 /options-table.c | |
parent | 5158dd9a8dddf34a00ec6359840488d34faabd88 (diff) | |
download | rtmux-ac3b78a84178a308536a56ea114b0f6f8ce6fb47.tar.gz rtmux-ac3b78a84178a308536a56ea114b0f6f8ce6fb47.tar.bz2 rtmux-ac3b78a84178a308536a56ea114b0f6f8ce6fb47.zip |
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')
-rw-r--r-- | options-table.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c index 56cb24e5..4e2b8f61 100644 --- a/options-table.c +++ b/options-table.c @@ -198,6 +198,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 |