2 * This file is part of mutt-ng, see http://www.muttng.org/.
3 * It's licensed under the GNU General Public License,
4 * please see the file GPL in the top level source directory.
9 #include <lib-lib/lib-lib.h>
11 /* sets the current xterm's title */
12 static inline void mutt_xterm_set_title(const char *title) {
13 printf("\033]2;%s\007", NONULL(title));
17 /* sets the current xterm's icon */
18 static inline void mutt_xterm_set_icon(const char *name) {
19 printf("\033]1;%s\007", NONULL(name));
23 #endif /* !MUTT_XTERM_H */