You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using pane.send_keys() with ssh and its -t flag (Force pseudo-terminal allocation.)
The command is not sent to the correct target pane, but to the current active pane.
It looks like it is related to the following commit: #ee8a7054 startswith vs in
The below code should be sufficient to reproduce the problem
importlibtmuxtmux_server=libtmux.server.Server()
tmux_session=tmux_server.new_session(session_name="repro")
tmux_window=tmux_session.windows[0]
pane=tmux_window.panes[0]
# this will not workpane.send_keys("ssh -t user@notworking")
# this workspane.send_keys("ssh user@working")