Eterm documentation says you can get the current window title with the following escape sequence,
ESC[21t
If I type
print -n "\033[21t" I do seem to be getting whats on the title, but I cannot read it in to a shell variable. The idea is to get the current title and modify it (and then do another print statement to change the title). Any idea how to do this?
Escape sequences can be found at http://www.eterm.org/docs/view.php?doc=ref
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Eterm documentation says you can get the current window title with the following escape sequence,
ESC[21t
If I type
print -n "\033[21t" I do seem to be getting whats on the title, but I cannot read it in to a shell variable. The idea is to get the current title and modify it (and then do another print statement to change the title). Any idea how to do this?
Escape sequences can be found at
http://www.eterm.org/docs/view.php?doc=ref