home/rc/windowing
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
..
repl rc repl tmux: do not record repl session/window since pane might move 2022-11-19 15:21:38 +01:00
detection.kak Support focus Within Sway WM 2022-06-02 10:57:28 +01:00
iterm.kak Merge remote-tracking branch 'krobelus/embrace-menu-2' 2022-07-28 21:34:31 +10:00
kitty.kak rc windowing: use menu behavior for focus 2022-07-21 16:48:44 +02:00
new-client.kak rc windowing: use menu behavior for focus 2022-07-21 16:48:44 +02:00
screen.kak rc windowing: use menu behavior for focus 2022-07-21 16:48:44 +02:00
sway.kak rc windowing: use menu behavior for focus 2022-07-21 16:48:44 +02:00
tmux.kak rc windowing tmux: always spawn tmux-terminal-window in calling client 2022-11-19 15:21:38 +01:00
wayland.kak rc windowing: use menu behavior for focus 2022-07-21 16:48:44 +02:00
x11.kak rc windowing: use menu behavior for focus 2022-07-21 16:48:44 +02:00