home/rc
Johannes Altmanninger cfea884cf2 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".
2022-11-19 15:21:38 +01:00
..
detection Merge remote-tracking branch 'krobelus/file-completion' 2022-10-19 20:23:39 +11:00
filetype Add "union" as a keyword for Rust syntax 2022-11-01 21:29:07 +00:00
tools Merge remote-tracking branch 'krobelus/fix-man-jump' 2022-10-19 20:37:19 +11:00
windowing rc windowing tmux: always spawn tmux-terminal-window in calling client 2022-11-19 15:21:38 +01:00