Comment 9 for bug 246448

Revision history for this message
Jordan Callicoat (monkeesage) wrote :

I'm playing with this, but it's actually really hard to get right. It is easy to set the title--currently I'm listening for double-clicks on tab labels or title bars, then grabbing the appropriate vte object and feeding it "\033]0;%s\007" % a_title_from_a_prompt. This works fine. The problem is that all sorts of events reset the tab and-or titlebar labels (such as changing focus between embedded terms, changing tabs, or running a command in a term [which ends up calling $PROMPT_COMMAND]). I don't have time to implement this properly right now, but maybe in a couple weeks I'll give it another shot.