version 1.342, 2020/05/16 16:33:16 |
version 1.343, 2020/05/16 16:35:13 |
|
|
key |= KEYC_SHIFT; |
key |= KEYC_SHIFT; |
|
|
if (log_get_level() != 0) |
if (log_get_level() != 0) |
log_debug("mouse key is %s", key_string_lookup_key (key)); |
log_debug("mouse key is %s", key_string_lookup_key (key, 1)); |
return (key); |
return (key); |
} |
} |
|
|
|
|
* The prefix always takes precedence and forces a switch to the prefix |
* The prefix always takes precedence and forces a switch to the prefix |
* table, unless we are already there. |
* table, unless we are already there. |
*/ |
*/ |
key0 = (key & ~KEYC_XTERM); |
key0 = (key & (KEYC_MASK_KEY|KEYC_MASK_MODIFIERS)); |
if ((key0 == (key_code)options_get_number(s->options, "prefix") || |
if ((key0 == (key_code)options_get_number(s->options, "prefix") || |
key0 == (key_code)options_get_number(s->options, "prefix2")) && |
key0 == (key_code)options_get_number(s->options, "prefix2")) && |
strcmp(table->name, "prefix") != 0) { |
strcmp(table->name, "prefix") != 0) { |