Can you please open an issue with tmux server logs (tmux kill-server; tmux -vv new) from reproducing? Thanks
On Wed, 3 Mar 2021 at 16:42, Sivaram Neelakantan <[email protected]> wrote: > On Tue, Mar 02 2021,Nicholas Marriott wrote: > > > [snipped 7 lines] > > > > > Anyone using popups in previous release candidates should note that they > > have changed so that running a shell command is required, and the syntax > > of the display-popup command has been simplified and brought into line > > with other commands like new-window and split-window. Now, instead of: > > > > tmux popup -KER "emacs /tmp" > > > > You can do either of: > > > > tmux popup -E "emacs /tmp" > > tmux popup -E -- emacs /tmp > > [snipped 5 lines] > > Doesn't seem to work in Cygwin > > I had the following lines which I changed to -E as suggested... > bind-key -N "Toggle persistent popup shell" \ > -n F4 if-shell -F '#{==:#{session_name},float}' { detach-client } > \ > { popup -w70% -h70% -E \ > 'tmux attach -t float || tmux new -s float \; \ > display-message "Press PF4 to toggle floating popup or Ctrl-D to > kill it"'\ > } > > Original line was # { popup -w70% -h70% -K -E -R \ > > This change works on ubuntu on wsl in Windows but shows only a black > box floating popup in cygwin tmux when I press F4 and no shell prompt > in it. just a black floating box. The messages of <prefix> ~ shown > below. > > 22:04: /dev/pty0 key ~: show-messages > [0/0] > 22:04: /dev/pty0 message: Unknown command: tmux > 22:04: /dev/pty0 key F4: display-popup -E -h 70% -w 70% "tmux attach -t > float || tmux new -s float \\; display-message \"Press PF4 to to > ggle floating popup or Ctrl-D to kill it\"" > 22:04: /dev/pty0 key F4: if-shell -F "#{==:#{session_name},float}" > detach-client "popup -E -w70% -h70% \"tmux attach -t float || tmux new -s > floa > t \\\\; display-message \\\"Press PF4 to toggle floating popup or > Ctrl-D to kill it\\\"\"" > 22:04: /dev/pty0 command: new-session -A -s cyg > > > > > sivaram > -- > > -- > 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 view this discussion on the web, visit > https://groups.google.com/d/msgid/tmux-users/krpqx3im68chog.fsf%40gmail.com > . > -- 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 view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/CAEdLfcF_HL5vh6Wu73xxH2qs6cKOVTWpSv641PWxMApmg3%2BOjw%40mail.gmail.com.
