Rework of copy mode commands ("send-keys -X") to parse the arguments so

that flags may be detected propertly rather than just looking for
strings ("-O" and so on). Also add -C and -P flags to the copy commands:
-C prevents the commands from sending the text to the clipboard and -P
prevents them from adding the text as a paste buffer.

Note some of the default key bindings change to add "--" and any similar
custom key bindings using "send-keys -X" may need a similar change.

GitHub issue 4153.
This commit is contained in:
nicm
2024-10-04 07:03:08 +00:00
parent 780a87be9a
commit 9f2a853d87
3 changed files with 241 additions and 272 deletions

File diff suppressed because it is too large Load Diff