Hi You could make it so \033k with an empty name did this, I don't want a new escape sequence.
On Wed, Sep 25, 2019 at 12:34:17PM -0700, fREW Schmidt wrote: > Hi! > > I am thinking of adding a feature and would like to make sure it makes > sense to everyone else, first. Here's the use case: > > I have some code that will set window title periodically (via setting > process title), based on what the program is doing. This is fairly > limited, since it won't work over SSH and requires using some limited > low level stuff. I would like to set the title with > "\033kthis\033\\", but that means that once the program exits, the > title is stuck to what it was before. > > I would like to propose that there be a new escape code that programs > can print to reset the title inference mode. Users could even put it > in their prompt if they wanted to. I have no idea how hard this is, > but it seems like it would be useful, and I have not yet even been > able to figure out a way to hack it in by shelling out to tmux (since > if the window is no longer selected you have to use @window to set the > rename, and figuring out what window the program started in is oddly > difficult.) > > Does this make sense? I looked through input.c and it doesn't seem like > it'd be especially hard, though it may be frowned upon do to (lack of) > a standard for this. > -- > fREW Schmidt > https://blog.afoolishmanifesto.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/20190925193417.ud4wfb746wyiifmk%40caliburn. -- 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/20190925200252.upvmq3ildj5zjt3w%40yelena.
