xterm: enable macbook options key as modifier for copy-and-paste (#914)

Enabling `set -g mouse on` in tmux.conf breaks copy-on-select.
On other keyboard layouts the shift key can be used as modifier for copy-on-select.
This commit enables the xterm options required for using the options key
as modifier for copy-on-select.
This commit is contained in:
Ruben Jenster
2022-04-08 16:37:02 +02:00
committed by GitHub
parent 83e514b5b8
commit 2b4dbacc10

View File

@@ -21,6 +21,8 @@ const clientOptions = {
const termOptions = {
fontSize: 13,
fontFamily: 'Menlo For Powerline,Consolas,Liberation Mono,Menlo,Courier,monospace',
macOptionClickForcesSelection: true,
macOptionIsMeta: true,
theme: {
foreground: '#d2d2d2',
background: '#2b2b2b',