summaryrefslogtreecommitdiff
path: root/rc/tools/python
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2022-10-18 20:02:16 +0200
committerJohannes Altmanninger <aclopte@gmail.com>2022-11-19 15:21:38 +0100
commitcfea884cf2e80eeb0934e3b354e272d3b24093ac (patch)
tree11a1aa3303304c28f97a6ab9ce1016fede5c8625 /rc/tools/python
parent37dcba9089424f4409146a5b98961e9bfae95443 (diff)
rc windowing tmux: always spawn tmux-terminal-window in calling client
The tmux-terminal-window command always spawns windows in the tmux session where the Kakoune session was started - even if the calling Kakoune client lives in a different tmux session. Fix this by always creating the window in the tmux session of the calling client. We already do the same for tmux-terminal-{horizontal,vertical}. I call tmux-terminal-impl with "new-window -a" (instead of "new-window"), so make sure the fix works for my use case. I considered retrieving the tmux session ID from the $TMUX environment variable but the tmux manpage only specifies that $TMUX contains "some internal data".
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions