]> git.llucax.com Git - software/mutt-debian.git/blob - contrib/mutt_xtitle
fixes two problems with subdirs on dovecot (Closes: 530671, 530887)
[software/mutt-debian.git] / contrib / mutt_xtitle
1 #!/bin/sh
2 # Demonstration of format string pipes. Sets the xterm title and returns the
3 # string unchanged.
4 #
5 # Example usage:
6 # set status_format="mutt_xtitle '%r %f (%L) [Msgs:%?M?%M/?%m%?n? New:%n?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?]'|"
7
8 printf "\033]0;$1\007" > /dev/tty
9 echo "$1"