On Wed, 25 Oct 2017 05:03:36 +0000, Shiyao MA wrote: > I am using a simple customized program, which is invoked by tmux > through the `copy-pipe' command. The program needs access to the > terminal, but seems the fd it gets doesn't point to the current > terminal. So how to overcome this? any dirty hack is welcome.
Use "#{pane_tty}" in place of /dev/tty in your copy-pipe command, per
https://mail-archive.com/[email protected]/msg06588.html
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
pgptR0PaCzDhL.pgp
Description: OpenPGP digital signature
