mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-24 20:54:21 +01:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user