That should work, unless your terminal needs a different rest seq (Cr) than xterm.
On Tue, Sep 13, 2016 at 12:51:50AM +0800, Jianbin Kang wrote: > Looks like it doesn't work either (withou ptmux): > The seq I sent: > Send: ^[]12;#5fd700^G > > However all cursor colors changed. > > 2016-09-13 0:38 GMT+08:00 Nicholas Marriott > <[1][email protected]>: > > This is not right, it will bypass tmux and change the cursor for all > windows, send it without the \ePtmux\e...\e\\ bit. > > On Tue, Sep 13, 2016 at 12:36:13AM +0800, Jianbin Kang wrote: > >** ** Looks like I sent the right seq as the cursor was changed. > >** ** "\ePtmux;\e\e]12;#00cd00\a\e\\" > > > >** ** However cursor color on other windows changed too. > >** ** 2016-09-13 0:28 GMT+08:00 Nicholas Marriott > >** ** <[1][2][email protected]>: > > > >** ** ** Make sure emacs is using the right escape sequences and tmux > should > >** ** ** track it. > > > >** ** ** On Tue, Sep 13, 2016 at 12:26:08AM +0800, Jianbin Kang wrote: > >** ** ** >** ** Hi All, > >** ** ** > > >** ** ** >** ** I am using mintty to connect a linux vm, tmux is > running on VM. > >** ** ** >** ** How can I enable different cursor colors for different > windows? > >** ** ** >** ** For example, > >** ** ** >** ** Default cursor color is plum3. > >** ** ** >** ** I have window 0 running emacs and once emacs changes > cursor to > >** ** ** green, > >** ** ** >** ** cursor colors on other windows will be green. > >** ** ** > > >** ** ** >** ** Thanks, > >** ** ** >** ** Jianbin > >** ** ** > > >** ** ** >** ** -- > >** ** ** >** ** 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 > [1][2][3][email protected]. > >** ** ** >** ** To post to this group, send email to > >** ** ** [2][3][4][email protected]. > >** ** ** >** ** For more options, visit > [3][4][5]https://groups.google.com/d/optout. > >** ** ** > > >** ** ** > References > >** ** ** > > >** ** ** >** ** Visible links > >** ** ** >** ** 1. mailto:[5][6][email protected] > >** ** ** >** ** 2. mailto:[6][7][email protected] > >** ** ** >** ** 3. [7][8]https://groups.google.com/d/optout > > > > References > > > >** ** Visible links > >** ** 1. mailto:[9][email protected] > >** ** 2. mailto:[10]tmux-users%[email protected] > >** ** 3. mailto:[11][email protected] > >** ** 4. [12]https://groups.google.com/d/optout > >** ** 5. mailto:[13]tmux-users%[email protected] > >** ** 6. mailto:[14][email protected] > >** ** 7. [15]https://groups.google.com/d/optout > > References > > Visible links > 1. mailto:[email protected] > 2. mailto:[email protected] > 3. mailto:tmux-users%[email protected] > 4. mailto:[email protected] > 5. https://groups.google.com/d/optout > 6. mailto:tmux-users%[email protected] > 7. mailto:[email protected] > 8. https://groups.google.com/d/optout > 9. mailto:[email protected] > 10. mailto:tmux-users%[email protected] > 11. mailto:[email protected] > 12. https://groups.google.com/d/optout > 13. mailto:tmux-users%[email protected] > 14. mailto:[email protected] > 15. https://groups.google.com/d/optout -- 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.
