From 2b4dbacc10f0db7fceb092ea42ea12cd9301f4aa Mon Sep 17 00:00:00 2001 From: Ruben Jenster Date: Fri, 8 Apr 2022 16:37:02 +0200 Subject: [PATCH] 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. --- html/src/components/app.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/src/components/app.tsx b/html/src/components/app.tsx index a899b7f..96c7ded 100644 --- a/html/src/components/app.tsx +++ b/html/src/components/app.tsx @@ -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', -- 2.43.4