add title bar string stack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
i would like to see a title bar string stack. i could not find such a feature on terminator as of yet. as implemented in xterm, basically send '\033[22t' to add to the stack, then '\033[23t' to restore.
this allows the customer to do things like the following:
1. add the current title bar value to the stack
2. set the title bar to a remote hostname
3. ssh to that remote host
4. restore the previous stack string value
this works on an xterm:
1. echo -ne '\033[22t'
2. echo -ne '\033]2;
3. ssh your-host-name
4. echo -ne '\033[23t'
conveniently setting the title bar to the name of the host and then resetting it back to whatever it was before after the completion of the ssh command.
This would actually be handled by the vte component Terminator is based on. You should raise a feature request against that project. Either they would implement the whole thing and we would just set the title to whatever the terminal says the title should be (like now as long as we're not overriding the title) or they would create a signal/function that we can receive/call to get this stack.
BTW, When I run your command in xterm the title gets set to "your-host- name?0; previous- string" . Not clear is where the "?0;" is coming from. Also, if this is a stck, shouldn't I be able to run a second (2) and get "your-host- name?0; your-host- name?0; previous- string" ? Right now it just lets me set the prefix effectively.
I'm going to mark this as Won't Fix for now, because as I say I don't think these escape codes for this can (or should) be handled at the Terminator level.