You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exiting cmus, the terminal title is not restored to its original value (before starting cmus). Bug is present on mate-terminal, xfce4-terminal, and terminator; likely present on other emulators.
The text was updated successfully, but these errors were encountered:
Quick googling does not find a way to do this in a simple and portable way — solutions welcome! However, on OS X, both Terminal.app and iTerm work fine.
#!/bin/sh
/bin/echo -ne '\033[22;0t'# Save title on stack
/bin/echo -ne "\033]0;$(date)\007"
sleep 1
/bin/echo -ne '\033[23;0t'# Restore title from stack
When exiting cmus, the terminal title is not restored to its original value (before starting cmus). Bug is present on mate-terminal, xfce4-terminal, and terminator; likely present on other emulators.
The text was updated successfully, but these errors were encountered: