mirror of
https://github.com/tmux/tmux.git
synced 2026-03-06 07:45:35 +00:00
Allow copy mode to work for readonly clients, except for copy commands,
from Dane Jensen.
This commit is contained in:
@@ -688,6 +688,7 @@ key_bindings_dispatch(struct key_binding *bd, struct cmdq_item *item,
|
||||
readonly = 1;
|
||||
else
|
||||
readonly = cmd_list_all_have(bd->cmdlist, CMD_READONLY);
|
||||
|
||||
if (!readonly)
|
||||
new_item = cmdq_get_callback(key_bindings_read_only, NULL);
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user