diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-01-15 22:55:29 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-01-15 22:55:29 +0000 |
commit | bc2e4a36df2023a738c433779ba8f1e08b6951fe (patch) | |
tree | 2f83a871626833070d374eca0b1aa55684ac1c03 /options-table.c | |
parent | 854e8ae04d15c16b688ba38119656aee134548dd (diff) | |
download | rtmux-bc2e4a36df2023a738c433779ba8f1e08b6951fe.tar.gz rtmux-bc2e4a36df2023a738c433779ba8f1e08b6951fe.tar.bz2 rtmux-bc2e4a36df2023a738c433779ba8f1e08b6951fe.zip |
If timing between keys is less than (by default) 1 millisecond, assume
the text is being pasted. assume-paste-time option changes the value (0
disables). Based on a diff from Marcin Kulik.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c index d9bbe382..9baf6835 100644 --- a/options-table.c +++ b/options-table.c @@ -91,6 +91,13 @@ const struct options_table_entry server_options_table[] = { /* Session options. */ const struct options_table_entry session_options_table[] = { + { .name = "assume-paste-time", + .type = OPTIONS_TABLE_NUMBER, + .minimum = 0, + .maximum = INT_MAX, + .default_num = 1, + }, + { .name = "base-index", .type = OPTIONS_TABLE_NUMBER, .minimum = 0, |