OK cool.

On Fri, Mar 24, 2017 at 08:23:05AM +0100, Franky Spamschleuder wrote:
>    It works now with
>    tmux new-window "sleep 1 && A printf
>    '\033Ptmux;\033\033]50;ColorScheme=%s\007\033\\' $1 "
>    Thanks
>    2017-03-24 7:50 GMT+01:00 Franky Spamschleuder
>    <[email protected]>:
> 
>      Hi Nicholas,
>      thanks for your answer. But your suggested solution does also not work.
>      I played a little bit around and tried it also with run shell or wrapped
>      the command inside a sh -c with no result.
>      E.g.
>      tmux new-window "printf
>      '\033Ptmux;\033\033]50;ColorScheme=Oxygen\007\033\\'"
>      tmux new-window " /bin/sh -c \"printf
>      '\033Ptmux;\033\033]50;ColorScheme=Oxygen\007\033\\'\" "
>      tmux run-shell "printf
>      '\033Ptmux;\033\033]50;ColorScheme=Oxygen\007\033\\'"
>      CheersA 
>      Frank
>      2017-03-22 14:22 GMT+01:00 Nicholas Marriott
>      <[email protected]>:
> 
>        Hi
> 
>        run-shell does not have a terminal you can send these escape sequences
>        to, you will need to run it using split-window or new-window.
> 
>        On Wed, Mar 22, 2017 at 02:20:55PM +0100, 'Franky Spamschleuder' via
>        tmux-users wrote:
>        >A  A  Hi everybody,
>        >
>        >A  A  I'm currently working on a script in which i can change my
>        konsole color
>        >A  A  profile via tmux key binding. The printf statement does
>        unfortunatelly not
>        >A  A  work inside the plugin script but exexution in an tmux shell
>        does work.
>        >A  A  For example:A
>        >
>        >A  A  printf '\ePtmux;\e\e]50;ColorScheme=Oxygen%s\a\e\'A
>        >
>        >A  A  In the plugin I tried this statement as it is or wrapped it
>        inside a tmux
>        >A  A  run command, but both does not work.A
>        >
>        >A  A  So anybody can help me?
>        >
>        >A  A  Cheers
>        >
>        >A  A  Frank
>        >
>        >A  A  --
>        >A  A  You received this message because you are subscribed to the
>        Google Groups
>        >A  A  "tmux-users" group.
>        >A  A  To unsubscribe from this group and stop receiving emails from
>        it, send an
>        >A  A  email to [email protected].
>        >A  A  To post to this group, send email to
>        [email protected].
>        >A  A  For more options, visit 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.

Reply via email to