mirror of
https://github.com/samsonjs/config.git
synced 2026-03-25 09:15:47 +00:00
Try workaround from mosh PR #1054
This commit is contained in:
parent
787da4cf93
commit
ae9b658f1c
1 changed files with 3 additions and 2 deletions
|
|
@ -1,8 +1,9 @@
|
||||||
# Enable mouse support
|
# Enable mouse support
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
# Fix copying text inside mosh
|
# Fix copying text inside mosh: force tmux to send OSC 52 with "c;" selection
|
||||||
set -s terminal-features 'xterm-256color:clipboard'
|
# type, which is the only format mosh accepts (see mobile-shell/mosh#1054)
|
||||||
|
set -as terminal-overrides ',xterm-256color:Ms=\E]52;c%p1%.0s;%p2%s\007'
|
||||||
|
|
||||||
# Select next window
|
# Select next window
|
||||||
bind-key Space next-window
|
bind-key Space next-window
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue